@Test public void testGetAllCustomerContacts() { long count = repository.count(); customerContactList = service.getAllCustomerContacts(); Assert.assertTrue(customerContactList.size() == count); }