Ejemplo n.º 1
0
 /**
  * @test
  */
 public function can_record_with_timeout()
 {
     $mock = new PAGI\Client\Impl\MockedClientImpl($this->_properties);
     $mock->onRecord(false, false, '#', 0);
     $result = $mock->record('blah', 'wav', '#');
     $this->assertFalse($result->isHangup());
     $this->assertFalse($result->isInterrupted());
 }