Search in sources :

Example 11 with Address

use of gov.ca.cwds.data.persistence.ns.Address in project API by ca-cwds.

the class AddressDaoIT method testDelete.

@Override
@Test
public void testDelete() {
    long id = 1;
    Address deleted = addressDao.delete(id);
    assertThat(deleted.getId(), is(id));
}
Also used : Address(gov.ca.cwds.data.persistence.ns.Address) Test(org.junit.Test)

Aggregations

Address (gov.ca.cwds.data.persistence.ns.Address)11 Test (org.junit.Test)10 PostedScreening (gov.ca.cwds.rest.api.domain.PostedScreening)3 ScreeningRequest (gov.ca.cwds.rest.api.domain.ScreeningRequest)3 ScreeningResponse (gov.ca.cwds.rest.api.domain.ScreeningResponse)3 Screening (gov.ca.cwds.data.persistence.ns.Screening)2 ImmutableSet (com.google.common.collect.ImmutableSet)1 Participant (gov.ca.cwds.rest.api.domain.Participant)1 Screening (gov.ca.cwds.rest.api.domain.Screening)1 HashSet (java.util.HashSet)1 Restrictions (org.hibernate.criterion.Restrictions)1