protected function getTransitionForCheckTest() { $endState = new State(self::END_STATE); $condition = new SymfonyExpression('subject.canBeClosed'); return new Transition($endState, null, $condition); }