PHP Class Metabor\Statemachine\Factory\ScoreTransitionTest

Author: Oliver Tischlinger
Inheritance: extends PHPUnit_Framework_TestCase
Exibir arquivo Open project: metabor/statemachine

Public Methods

Method Description
testIfThereIsOnlyOneTransitionWithoutEventAndTransitionUseThis ( ) : Transition[]
testPreferTransitionWithCondition ( array $transitions ) : Transition[]
testPreferTransitionWithEvent ( array $transitions ) : Transition[]
testPrefereTransitionWithEventAndCondition ( array $transitions )
testThrowsAnExceptionIfMoreThanOneTransitionIsInTheHighestLevel ( )

Method Details

testIfThereIsOnlyOneTransitionWithoutEventAndTransitionUseThis() public method

public testIfThereIsOnlyOneTransitionWithoutEventAndTransitionUseThis ( ) : Transition[]
return Metabor\Statemachine\Transition[]

testPreferTransitionWithCondition() public method

public testPreferTransitionWithCondition ( array $transitions ) : Transition[]
$transitions array
return Metabor\Statemachine\Transition[]

testPreferTransitionWithEvent() public method

public testPreferTransitionWithEvent ( array $transitions ) : Transition[]
$transitions array
return Metabor\Statemachine\Transition[]

testPrefereTransitionWithEventAndCondition() public method

public testPrefereTransitionWithEventAndCondition ( array $transitions )
$transitions array

testThrowsAnExceptionIfMoreThanOneTransitionIsInTheHighestLevel() public method