/** * @covers \examples\statemachines\PwrCall\PwrCall::isStartUpState */ public function testIsStartUpState() { $this->assertTrue($this->pwrcall->isStartUpState()); }
/** * @covers \examples\statemachines\PwrCall\PwrCall::isStartUpState */ public function testIsNotStartUpState() { $this->assertFalse($this->pwrcall->isStartUpState()); }
/** * @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()); }