public function testStatusEqualsFails() { $item = new Item04(); $item->sendToStatus('A'); expect_not($item->statusEquals('B')); expect_not($item->statusEquals('Item04Workflow/B')); expect_not($item->statusEquals('NOTFOUND')); expect_not($item->statusEquals('Item04Workflow/NOTFOUND')); expect_not($item->statusEquals('NOTFOUND/NOTFOUND')); expect_not($item->statusEquals('invalid name')); expect_not($item->statusEquals('')); expect_not($item->statusEquals(null)); $statusA = $item->getWorkflowStatus(); $item->sendToStatus('B'); verify($item->statusEquals('B')); expect_not($item->statusEquals($statusA)); }