use of gov.ca.cwds.rest.api.Response in project API by ca-cwds.
the class ReferralServiceTest method testDeleteReturnsNullWhenNotFound.
@Override
@Test
public void testDeleteReturnsNullWhenNotFound() throws Exception {
Response found = referralService.delete("ABC1234567");
assertThat(found, is(nullValue()));
}
use of gov.ca.cwds.rest.api.Response in project API by ca-cwds.
the class ClientUcServiceTest method testFindReturnsNullWhenNotFound.
@Override
@Test
public void testFindReturnsNullWhenNotFound() throws Exception {
Response found = clientUcService.find("ABC1234567");
assertThat(found, is(nullValue()));
}
use of gov.ca.cwds.rest.api.Response in project API by ca-cwds.
the class ClientUcServiceTest method testDeleteReturnsNullWhenNotFound.
@Override
@Test
public void testDeleteReturnsNullWhenNotFound() throws Exception {
Response found = clientUcService.delete("ABC1234567");
assertThat(found, is(nullValue()));
}
use of gov.ca.cwds.rest.api.Response in project API by ca-cwds.
the class CmsReferralServiceTest method createReturnsPostedCmsReferral.
// Create Tests
@Test
public void createReturnsPostedCmsReferral() throws Exception {
Response response = cmsReferralServiceResponse();
assertThat(response.getClass(), is(PostedCmsReferral.class));
}
use of gov.ca.cwds.rest.api.Response in project API by ca-cwds.
the class ReporterServiceTest method findReturnsNullWhenNotFound.
@SuppressWarnings("javadoc")
@Test
public void findReturnsNullWhenNotFound() throws Exception {
Response found = reporterService.find("ABC1234567");
assertThat(found, is(nullValue()));
}
Aggregations