示例#1
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isStartUpState
  */
 public function testIsStartUpState()
 {
     $this->assertTrue($this->pwrcall->isStartUpState());
 }
示例#2
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isStartUpState
  */
 public function testIsNotStartUpState()
 {
     $this->assertFalse($this->pwrcall->isStartUpState());
 }
示例#3
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::restartAfterTechFailure
  * @covers \examples\statemachines\PwrCall\UserRegFailState::restartAfterTechFailure
  * @uses   \examples\statemachines\PwrCall\PwrCall::isStartUpState
  */
 public function testCanRestartAfterTechFailure()
 {
     $this->pwrcall->restartAfterTechFailure();
     $this->assertTrue($this->pwrcall->isStartUpState());
 }