@Test
public void createProduct(){

    client().addFilter(new HTTPBasicAuthFilter(GrapesTestUtils.USER_4TEST, GrapesTestUtils.PASSWORD_4TEST));
    WebResource resource = client().resource("/" + ServerAPI.PRODUCT_RESOURCE);
    ClientResponse response = resource.type(MediaType.APPLICATION_JSON).post(ClientResponse.class, "product");
    assertNotNull(response);
    assertEquals(HttpStatus.CREATED_201, response.getStatus());
}