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); }
public function testCanRemoveContact() { $contact = $this->contactService->findEntityById('contact', 2); $this->assertTrue($this->contactService->removeEntity($contact)); $contact = $this->contactService->findEntityById('contact', 2); $this->assertNull($contact); }