@Test
public void deleteDeliveryFromProductThatDoesNotExist(){

    // request
	client().addFilter(new HTTPBasicAuthFilter(GrapesTestUtils.USER_4TEST, GrapesTestUtils.PASSWORD_4TEST));
    WebResource resource = client().resource("/" + ServerAPI.PRODUCT_RESOURCE + "/doesNotExist" + ServerAPI.GET_DELIVERIES + "/delivery1/1.0.0" );
    ClientResponse response = resource.type(MediaType.APPLICATION_JSON).delete(ClientResponse.class);
    
    // checks
    assertNotNull(response);
    assertEquals(HttpStatus.NOT_FOUND_404, response.getStatus());
}