use of gov.ca.cwds.data.persistence.cms.CountyTrigger in project API by ca-cwds.
the class CountyTriggerDaoIT method testFindEntityNotFoundException.
@Override
@Test
public void testFindEntityNotFoundException() throws Exception {
CountyTriggerEmbeddable countyTriggerEmbeddable = new CountyTriggerEmbeddable("9999999KKK", null);
CountyTrigger found = countyTriggerDao.find(countyTriggerEmbeddable);
assertThat(found, is(nullValue()));
}
use of gov.ca.cwds.data.persistence.cms.CountyTrigger in project API by ca-cwds.
the class CountyTriggerDaoIT method testCreate.
@Override
@Test
public void testCreate() throws Exception {
CountyTrigger countyTrigger = new CountyTrigger("ABC1234567", "62", "C", (Date) null, "REFR_CLT");
CountyTrigger created = countyTriggerDao.create(countyTrigger);
assertThat(created, is(countyTrigger));
}
Aggregations