### Question:
CountryMatchingServiceRequestGeneratorResource { @POST @Timed public Response generateAttributeQuery(final EidasAttributeQueryRequestDto dto) { return Response.ok().entity(service.generate(dto)).build(); } @Inject  CountryMatchingServiceRequestGeneratorResource(CountryMatchingServiceRequestGeneratorService service); @POST @Timed Response generateAttributeQuery(final EidasAttributeQueryRequestDto dto);  }### Answer:
@Test public void generateAttributeQueryIsSuccessful() { resource.generateAttributeQuery(eidasAttributeQueryRequestDto); verify(service).generate(eidasAttributeQueryRequestDto); verifyNoMoreInteractions(service); }