Ejemplo n.º 1
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::techProblem
  * @covers \examples\statemachines\PwrCall\UserParkedState::techProblem
  * @uses   \examples\statemachines\PwrCall\PwrCall::isTechnicalProblemState
  */
 public function testCanTechProblem()
 {
     $this->pwrcall->techProblem();
     $this->assertTrue($this->pwrcall->isTechnicalProblemState());
 }
Ejemplo n.º 2
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isTechnicalProblemState
  */
 public function testIsNotTechnicalProblemState()
 {
     $this->assertFalse($this->pwrcall->isTechnicalProblemState());
 }