コード例 #1
0
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isInCallState
  */
 public function testIsNotInCallState()
 {
     $this->assertFalse($this->pwrcall->isInCallState());
 }
コード例 #2
0
 /**
  * @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());
 }
コード例 #3
0
ファイル: NextCallStateTest.php プロジェクト: djsharman/state
 /**
  * @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());
 }
コード例 #4
0
ファイル: InCallStateTest.php プロジェクト: djsharman/state
 /**
  * @covers \examples\statemachines\PwrCall\PwrCall::isInCallState
  */
 public function testIsInCallState()
 {
     $this->assertTrue($this->pwrcall->isInCallState());
 }