### Question:
TransactionAspect { @AfterReturning(pointcut = "execution(* de.adorsys.psd2.xs2a.service.ais.TransactionService.getTransactionsReportByPeriod(..)) && args(request)", returning = "result", argNames = "result,request") public ResponseObject<Xs2aTransactionsReport> getTransactionsReportByPeriod(ResponseObject<Xs2aTransactionsReport> result, Xs2aTransactionsReportByPeriodRequest request) { return transactionAspectService.getTransactionsReportByPeriod(result, request); } TransactionAspect(TransactionAspectService transactionAspectService); @AfterReturning(pointcut = "execution(* de.adorsys.psd2.xs2a.service.ais.TransactionService.getTransactionsReportByPeriod(..)) && args(request)", returning = "result", argNames = "result,request") ResponseObject<Xs2aTransactionsReport> getTransactionsReportByPeriod(ResponseObject<Xs2aTransactionsReport> result, Xs2aTransactionsReportByPeriodRequest request);  }### Answer:
@Test void getTransactionsReportByPeriod() { Xs2aTransactionsReportByPeriodRequest request = jsonReader.getObjectFromFile("json/Xs2aTransactionsReportByPeriodRequest.json", Xs2aTransactionsReportByPeriodRequest.class); ResponseObject<Xs2aTransactionsReport> responseObject = ResponseObject.<Xs2aTransactionsReport>builder() .body(new Xs2aTransactionsReport()) .build(); aspect.getTransactionsReportByPeriod(responseObject, request); verify(transactionAspectService).getTransactionsReportByPeriod(responseObject, request); }