@Test
 public void test3findBycountryId() {
   try {
     java.util.List<City> listofcountryId =
         cityRepository.findByCountryId((java.lang.String) map.get("CountryPrimaryKey"));
     if (listofcountryId.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) {
     e.printStackTrace();
   }
 }