### Question:
ApplicationSettingResource { @PUT @Path("budget/{maxBudgetAllowed}") public Response setMaxBudget(@Auth UserInfo userInfo, @PathParam("maxBudgetAllowed") @Min(1) Long maxBudget) { settingService.setMaxBudget(maxBudget); return Response.noContent().build(); } @Inject  ApplicationSettingResource(ApplicationSettingService settingService); @PUT @Path("budget/{maxBudgetAllowed}") Response setMaxBudget(@Auth UserInfo userInfo,
								 @PathParam("maxBudgetAllowed") @Min(1) Long maxBudget); @DELETE @Path("budget") Response removeAllowedBudget(@Auth UserInfo userInfo); @GET @Produces(MediaType.APPLICATION_JSON) Response getSettings(@Auth UserInfo userInfo);  }### Answer:
@Test public void setMaxBudget() { final Response response = resources.getJerseyTest() .target("/settings/budget/12") .request() .header("Authorization", "Bearer " + TOKEN) .put(Entity.entity("dummy", MediaType.TEXT_PLAIN)); assertEquals(HttpStatus.SC_NO_CONTENT, response.getStatus()); verify(applicationSettingService).setMaxBudget(12L); verifyNoMoreInteractions(applicationSettingService); }