PHP 클래스 izzum\statemachine\TransitionTest

저자: rolf
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: rolfvreijdenberger/izzum-statemachine

공개 메소드들

메소드 설명
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 ( )

메소드 상세

jo() 공개 메소드

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

shouldAcceptMultipleCallableTypes() 공개 메소드

shouldBeAbleToCopy() 공개 메소드

public 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() 공개 메소드