### Question:
EmployeeResource { @DELETE public void deleteAll() { repository.deleteEmployees(); }  @GET @Produces({ "application/xml", "application/json" }) Employees getList(); @GET @Produces({ "application/json", "application/xml" }) @Path("{id}") Employee get(@PathParam("id") int id); @POST @Consumes(MediaType.APPLICATION_FORM_URLENCODED) void addToList(@FormParam("name") String name,
                          @FormParam("age") int age, @FormParam("email") String email, @FormParam("mobile") String mobile); @PUT void putToList(@FormParam("name") String name,
                          @FormParam("age") int age, @FormParam("email") String email, @FormParam("mobile") String mobile); @DELETE void deleteAll(); @DELETE @Path("{name}") void deleteFromList(@PathParam("name") String name);  }### Answer:
@Test @InSequence(6) @CitrusTest public void testDeleteAll(@CitrusResource TestCaseRunner citrus) { citrus.run(http() .client(serviceUri) .send() .delete()); citrus.run(http() .client(serviceUri) .receive() .response(HttpStatus.NO_CONTENT)); citrus.run(http() .client(serviceUri) .send() .get() .accept(MediaType.APPLICATION_XML)); citrus.run(http() .client(serviceUri) .receive() .response(HttpStatus.OK) .payload("<employees></employees>")); }