示例#1
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::showCall
  * @covers \examples\statemachines\PwrCall\AbstractPwrCallState::showCall
  * @expectedException \examples\statemachines\PwrCall\IllegalStateTransitionException
  */
 public function testCannotShowCall()
 {
     $this->pwrcall->showCall();
 }
示例#2
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::showCall
  * @covers \examples\statemachines\PwrCall\NextCallState::showCall
  * @uses   \examples\statemachines\PwrCall\PwrCall::isInCallState
  */
 public function testCanShowCall()
 {
     $this->pwrcall->showCall();
     $this->assertTrue($this->pwrcall->isInCallState());
 }