PHP Class Metabor\Statemachine\Factory\ScoreTransitionTest

Author: Oliver Tischlinger
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: metabor/statemachine

Méthodes publiques

Méthode Description
testIfThereIsOnlyOneTransitionWithoutEventAndTransitionUseThis ( ) : Transition[]
testPreferTransitionWithCondition ( array $transitions ) : Transition[]
testPreferTransitionWithEvent ( array $transitions ) : Transition[]
testPrefereTransitionWithEventAndCondition ( array $transitions )
testThrowsAnExceptionIfMoreThanOneTransitionIsInTheHighestLevel ( )

Method Details

testIfThereIsOnlyOneTransitionWithoutEventAndTransitionUseThis() public méthode

public testIfThereIsOnlyOneTransitionWithoutEventAndTransitionUseThis ( ) : Transition[]
Résultat Metabor\Statemachine\Transition[]

testPreferTransitionWithCondition() public méthode

public testPreferTransitionWithCondition ( array $transitions ) : Transition[]
$transitions array
Résultat Metabor\Statemachine\Transition[]

testPreferTransitionWithEvent() public méthode

public testPreferTransitionWithEvent ( array $transitions ) : Transition[]
$transitions array
Résultat Metabor\Statemachine\Transition[]

testPrefereTransitionWithEventAndCondition() public méthode

public testPrefereTransitionWithEventAndCondition ( array $transitions )
$transitions array

testThrowsAnExceptionIfMoreThanOneTransitionIsInTheHighestLevel() public méthode