action_value = 'APPEND'; $journal = TransactionJournal::find(1); $oldDescription = $journal->description; $action = new AppendDescription($ruleAction); $result = $action->act($journal); $this->assertTrue($result); $journal = TransactionJournal::find(1); $this->assertEquals($oldDescription . 'APPEND', $journal->description); } }