transactions()->save($transaction); $journal->transactions()->save($other); $amount = floatval($transaction->amount); $amount--; $this->assertCount(1, TransactionJournal::moreThan($amount)->get()); } }