Esempio n. 1
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::redialCustomer
  * @covers \examples\statemachines\PwrCall\AbstractPwrCallState::redialCustomer
  * @expectedException \examples\statemachines\PwrCall\IllegalStateTransitionException
  */
 public function testCannotRedialCustomer()
 {
     $this->pwrcall->redialCustomer();
 }
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::redialCustomer
  * @covers \examples\statemachines\PwrCall\CustCallHangupState::redialCustomer
  * @uses   \examples\statemachines\PwrCall\PwrCall::isInCallState
  */
 public function testCanRedialCustomer()
 {
     $this->pwrcall->redialCustomer();
     $this->assertTrue($this->pwrcall->isInCallState());
 }