### Question:
Preference extends AbstractALSResource { @DELETE @Path("{userID}/{itemID}") public void delete( @PathParam("userID") String userID, @PathParam("itemID") String itemID) throws OryxServingException { checkNotReadOnly(); sendToTopic(userID, itemID, ""); }  @POST @Path("{userID}/{itemID}") @Consumes({MediaType.TEXT_PLAIN, "text/csv", MediaType.APPLICATION_JSON}) void post(
      @PathParam("userID") String userID,
      @PathParam("itemID") String itemID,
      Reader reader); @DELETE @Path("{userID}/{itemID}") void delete(
      @PathParam("userID") String userID,
      @PathParam("itemID") String itemID);  }### Answer:
@Test public void testDelete() { Response response = target("/pref/U1/I2").request().delete(); checkResponse(response, "U1", "I2", ""); }