### Question:
PaymentServiceResolverCommon implements PaymentServiceResolver { @Override public CancelPaymentService getCancelPaymentService(PisPaymentCancellationRequest paymentCancellationRequest) { return cancelCommonPaymentService; }  @Override CreatePaymentService getCreatePaymentService(PaymentInitiationParameters paymentInitiationParameters); @Override ReadPaymentService getReadPaymentService(CommonPaymentData commonPaymentData); @Override ReadPaymentStatusService getReadPaymentStatusService(PisCommonPaymentResponse pisCommonPaymentResponse); @Override CancelPaymentService getCancelPaymentService(PisPaymentCancellationRequest paymentCancellationRequest);  }### Answer:
@Test void getCancelPaymentService() { PisPaymentCancellationRequest paymentCancellationRequest = new PisPaymentCancellationRequest(null, null, null, null, null); CancelPaymentService actualService = paymentServiceResolverCommon.getCancelPaymentService(paymentCancellationRequest); assertEquals(cancelCommonPaymentService, actualService); }