Exemplo n.º 1
0
 public function testCanFindNdaByCallAndContact()
 {
     $call = $this->callService->findEntityById('Call\\Call', 1);
     $contact = $this->contactService->findEntityById('contact', 1);
     $nda = $this->callService->findNdaByCallAndContact($call, $contact);
     $this->assertNull($nda);
 }
Exemplo n.º 2
0
 public function testCanRemoveContact()
 {
     $contact = $this->contactService->findEntityById('contact', 2);
     $this->assertTrue($this->contactService->removeEntity($contact));
     $contact = $this->contactService->findEntityById('contact', 2);
     $this->assertNull($contact);
 }