### Question:
CountryMatchingServiceRequestGeneratorService { public AttributeQueryContainerDto generate(EidasAttributeQueryRequestDto dto) { HubEidasAttributeQueryRequest hubEidasAttributeQueryRequest = eidasAttributeQueryRequestBuilder.createHubAttributeQueryRequest(dto); return eidasAttributeQueryGenerator.newCreateAttributeQueryContainer( hubEidasAttributeQueryRequest, dto.getAttributeQueryUri(), dto.getMatchingServiceEntityId(), dto.getMatchingServiceRequestTimeOut(), dto.isOnboarding()); } @Inject  CountryMatchingServiceRequestGeneratorService(
        HubEidasAttributeQueryRequestBuilder eidasAttributeQueryRequestBuilder,
        AttributeQueryGenerator<HubEidasAttributeQueryRequest> eidasAttributeQueryGenerator); AttributeQueryContainerDto generate(EidasAttributeQueryRequestDto dto);  }### Answer:
@Test public void shouldGenerateAttributeQueryContainerDto() { service.generate(EIDAS_ATTRIBUTE_QUERY_REQUEST_DTO); verify(eidasAttributeQueryRequestBuilder).createHubAttributeQueryRequest(EIDAS_ATTRIBUTE_QUERY_REQUEST_DTO); verify(eidasAttributeQueryGenerator).newCreateAttributeQueryContainer( HUB_EIDAS_ATTRIBUTE_QUERY_REQUEST, MSA_URI, MATCHING_SERVICE_ENTITY_ID, MATCHING_SERVICE_REQUEST_TIMEOUT, IS_ONBOARDING); }