示例#1
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isWPCompleteState
  */
 public function testIsNotWPCompleteState()
 {
     $this->assertFalse($this->pwrcall->isWPCompleteState());
 }
示例#2
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::wpComplete
  * @covers \examples\statemachines\PwrCall\StartUpState::wpComplete
  * @uses   \examples\statemachines\PwrCall\PwrCall::isWPCompleteState
  */
 public function testCanWpComplete()
 {
     $this->pwrcall->wpComplete();
     $this->assertTrue($this->pwrcall->isWPCompleteState());
 }