Esempio n. 1
0
 public function testRecordings()
 {
     $params = new Catapult\Parameters();
     $params->setFrom(new Catapult\PhoneNumber(__DEFAULT_SENDER__));
     $params->setTo(new Catapult\PhoneNumber(__DEFAULT_RECEIVER__));
     $call = new Catapult\Call();
     $call->create($params);
     $recordings = $call->get_recordings();
     /* we currently have no recordings */
     $this->assertEquals(sizeof($recordings->get()), 0);
 }