PHP Class Metabor\Statemachine\CommandTest

Author: Oliver Tischlinger
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: metabor/statemachine

Public Methods

Method Description
testDelegatesUpdateFromEventToInvoke ( )
testIsCastableToAString ( )
testWillThrowAnExceptionIfCommandIsNotInvokable ( )
testWillThrowAnExcpetionIfObserverIsNotAnEvent ( )

Protected Methods

Method Description
createTestInstance ( array $methods = [] ) : Command

Method Details

createTestInstance() protected method

protected createTestInstance ( array $methods = [] ) : Command
$methods array
return Command

testDelegatesUpdateFromEventToInvoke() public method

testIsCastableToAString() public method

testWillThrowAnExceptionIfCommandIsNotInvokable() public method

testWillThrowAnExcpetionIfObserverIsNotAnEvent() public method