Metabor\Statemachine\StatemachineTest::getTransitionForCheckTest PHP Method

getTransitionForCheckTest() protected method

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