@Test
 public void test3findBycontactId() {
   try {
     java.util.List<AppCustomer> listofcontactId =
         appcustomerRepository.findByContactId(
             (java.lang.String) map.get("CoreContactsPrimaryKey"));
     if (listofcontactId.size() == 0) {
       org.junit.Assert.fail("Query did not return any records.");
     }
   } catch (com.athena.framework.server.exception.repository.SpartanPersistenceException e) {
     org.junit.Assert.fail(e.getMessage());
   } catch (Exception e) {
     org.junit.Assert.fail(e.getMessage());
   }
 }