/**
  * @covers \examples\statemachines\PwrCall\PwrCall::userParkFailed
  * @covers \examples\statemachines\PwrCall\WaitForUserParkedState::userParkFailed
  * @uses   \examples\statemachines\PwrCall\PwrCall::isUserParkFailState
  */
 public function testCanUserParkFailed()
 {
     $this->pwrcall->userParkFailed();
     $this->assertTrue($this->pwrcall->isUserParkFailState());
 }
Example #2
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isUserParkFailState
  */
 public function testIsNotUserParkFailState()
 {
     $this->assertFalse($this->pwrcall->isUserParkFailState());
 }
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isUserParkFailState
  */
 public function testIsUserParkFailState()
 {
     $this->assertTrue($this->pwrcall->isUserParkFailState());
 }