Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
izzum
statemachine
TransitionTest
PHP Class izzum\statemachine\TransitionTest
Author:
rolf
Inheritance:
extends
PHPUnit_Framework_TestCase
Mostra file
Open project: rolfvreijdenberger/izzum-statemachine
Public Methods
Method
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
method
scenario 7: wrap an existing method in a closure (this is THE way to reuse an existing method)
public
jo
(
$entity
)
shouldAcceptMultipleCallableTypes()
public
method
public
shouldAcceptMultipleCallableTypes
( )
shouldBeAbleToCopy()
public
method
public
shouldBeAbleToCopy
( )
shouldBeAllowedAndAbleToProcess()
public
method
public
shouldBeAllowedAndAbleToProcess
( )
shouldExpectExceptionsWhenCallingPublicMethodsWithNonDefaultConstructorValues()
public
method
public
shouldExpectExceptionsWhenCallingPublicMethodsWithNonDefaultConstructorValues
( )
shouldFailWithBadCallableDefinitions()
public
method
https://github.com/rolfvreijdenberger/izzum-statemachine/issues/7
public
shouldFailWithBadCallableDefinitions
( )
shouldHaveBidirectionalAssociation()
public
method
public
shouldHaveBidirectionalAssociation
( )
shouldNotBeAllowedToButAbleToProcess()
public
method
public
shouldNotBeAllowedToButAbleToProcess
( )
shouldNotBeAllowedToTransitionByCallable()
public
method
public
shouldNotBeAllowedToTransitionByCallable
( )
shouldReturnTrueRuleAndNullCommandWhenRuleEmpty()
public
method
public
shouldReturnTrueRuleAndNullCommandWhenRuleEmpty
( )
shouldSetBiDirectionalReferenceOnFromStateOnlyForInitialOrNormalStates()
public
method
public
shouldSetBiDirectionalReferenceOnFromStateOnlyForInitialOrNormalStates
( )
shouldThrowExceptionFromAppliedCommand()
public
method
public
shouldThrowExceptionFromAppliedCommand
( )
shouldThrowExceptionFromAppliedRule()
public
method
public
shouldThrowExceptionFromAppliedRule
( )
shouldThrowExceptionWhenRuleAndCommandNotCreated()
public
method
public
shouldThrowExceptionWhenRuleAndCommandNotCreated
( )
shouldTransitionWithCallable()
public
method
public
shouldTransitionWithCallable
( )
shouldWorkWhenCallingPublicMethods()
public
method
public
shouldWorkWhenCallingPublicMethods
( )
shouldWorkWhenCallingPublicMethodsWithNonDefaultConstructorValues()
public
method
public
shouldWorkWhenCallingPublicMethodsWithNonDefaultConstructorValues
( )
shouldWorkWhenCallingPublicMethodsWithOptionalConstructorParams()
public
method
public
shouldWorkWhenCallingPublicMethodsWithOptionalConstructorParams
( )
shouldWorkWhenUsingMultipleRules()
public
method
public
shouldWorkWhenUsingMultipleRules
( )
shouldWorkWithMultipleCommands()
public
method
public
shouldWorkWithMultipleCommands
( )