### Question:
PaymentMethodValidatorImpl extends AbstractMethodValidator { @Override public String getMethodName() { return Psd2PaymentMethodNameConstant.INITIATE_PAYMENT.getValue(); } @Autowired protected  PaymentMethodValidatorImpl(List<PaymentHeaderValidator> headerValidators,
                                         List<PaymentBodyValidator> bodyValidators); @Override String getMethodName();  }### Answer:
@Test void init() { List<PaymentHeaderValidator> headerValidators = new ArrayList<>(); List<PaymentBodyValidator> bodyValidators = new ArrayList<>(); PaymentMethodValidatorImpl methodValidator = new PaymentMethodValidatorImpl(headerValidators, bodyValidators); assertEquals("_initiatePayment", methodValidator.getMethodName()); assertSame(headerValidators, methodValidator.getValidatorWrapper().getHeaderValidators()); assertSame(bodyValidators, methodValidator.getValidatorWrapper().getBodyValidators()); assertTrue(methodValidator.getValidatorWrapper().getQueryParameterValidators().isEmpty()); }