PHP Class izzum\statemachine\TransitionTest

Author: rolf
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: rolfvreijdenberger/izzum-statemachine

Méthodes publiques

Méthode Description
jo ( $entity ) scenario 7: wrap an existing method in a closure (this is THE way to reuse an existing method)
shouldAcceptMultipleCallableTypes ( )
shouldBeAbleToCopy ( )
shouldBeAllowedAndAbleToProcess ( )
shouldExpectExceptionsWhenCallingPublicMethodsWithNonDefaultConstructorValues ( )
shouldFailWithBadCallableDefinitions ( ) https://github.com/rolfvreijdenberger/izzum-statemachine/issues/7
shouldHaveBidirectionalAssociation ( )
shouldNotBeAllowedToButAbleToProcess ( )
shouldNotBeAllowedToTransitionByCallable ( )
shouldReturnTrueRuleAndNullCommandWhenRuleEmpty ( )
shouldSetBiDirectionalReferenceOnFromStateOnlyForInitialOrNormalStates ( )
shouldThrowExceptionFromAppliedCommand ( )
shouldThrowExceptionFromAppliedRule ( )
shouldThrowExceptionWhenRuleAndCommandNotCreated ( )
shouldTransitionWithCallable ( )
shouldWorkWhenCallingPublicMethods ( )
shouldWorkWhenCallingPublicMethodsWithNonDefaultConstructorValues ( )
shouldWorkWhenCallingPublicMethodsWithOptionalConstructorParams ( )
shouldWorkWhenUsingMultipleRules ( )
shouldWorkWithMultipleCommands ( )

Method Details

jo() public méthode

scenario 7: wrap an existing method in a closure (this is THE way to reuse an existing method)
public jo ( $entity )

shouldAcceptMultipleCallableTypes() public méthode

shouldBeAbleToCopy() public méthode

public shouldBeAbleToCopy ( )

shouldBeAllowedAndAbleToProcess() public méthode

shouldExpectExceptionsWhenCallingPublicMethodsWithNonDefaultConstructorValues() public méthode

shouldFailWithBadCallableDefinitions() public méthode

https://github.com/rolfvreijdenberger/izzum-statemachine/issues/7

shouldHaveBidirectionalAssociation() public méthode

shouldNotBeAllowedToButAbleToProcess() public méthode

shouldNotBeAllowedToTransitionByCallable() public méthode

shouldReturnTrueRuleAndNullCommandWhenRuleEmpty() public méthode

shouldSetBiDirectionalReferenceOnFromStateOnlyForInitialOrNormalStates() public méthode

shouldThrowExceptionFromAppliedCommand() public méthode

shouldThrowExceptionFromAppliedRule() public méthode

shouldThrowExceptionWhenRuleAndCommandNotCreated() public méthode

shouldTransitionWithCallable() public méthode

shouldWorkWhenCallingPublicMethods() public méthode

shouldWorkWhenCallingPublicMethodsWithNonDefaultConstructorValues() public méthode

shouldWorkWhenCallingPublicMethodsWithOptionalConstructorParams() public méthode

shouldWorkWhenUsingMultipleRules() public méthode

shouldWorkWithMultipleCommands() public méthode