### Question:
PaymentCancellationAspect { @AfterReturning(pointcut = "execution(* de.adorsys.psd2.xs2a.service.PaymentService.cancelPayment(..)) && args(paymentCancellationRequest)", returning = "result", argNames = "result,paymentCancellationRequest") public ResponseObject<CancelPaymentResponse> cancelPayment(ResponseObject<CancelPaymentResponse> result, PisPaymentCancellationRequest paymentCancellationRequest) { return paymentCancellationAspectService.cancelPayment(result, paymentCancellationRequest); } PaymentCancellationAspect(PaymentCancellationAspectService paymentCancellationAspectService); @AfterReturning(pointcut = "execution(* de.adorsys.psd2.xs2a.service.PaymentService.cancelPayment(..)) && args(paymentCancellationRequest)", returning = "result", argNames = "result,paymentCancellationRequest") ResponseObject<CancelPaymentResponse> cancelPayment(ResponseObject<CancelPaymentResponse> result, PisPaymentCancellationRequest paymentCancellationRequest);  }### Answer:
@Test void cancelPayment() { ResponseObject<CancelPaymentResponse> responseObject = ResponseObject.<CancelPaymentResponse>builder() .body(new CancelPaymentResponse()) .build(); aspect.cancelPayment(responseObject, REQUEST); verify(paymentCancellationAspectService).cancelPayment(responseObject, REQUEST); }