### Question:
ConsentMethodValidatorImpl extends AbstractMethodValidator { @Override public String getMethodName() { return METHOD_NAME; } @Autowired  ConsentMethodValidatorImpl(List<ConsentHeaderValidator> headerValidators,
                                      List<ConsentBodyValidator> bodyValidators); @Override String getMethodName();  }### Answer:
@Test void init() { List<ConsentHeaderValidator> headerValidators = new ArrayList<>(); List<ConsentBodyValidator> bodyValidators = new ArrayList<>(); ConsentMethodValidatorImpl methodValidator = new ConsentMethodValidatorImpl(headerValidators, bodyValidators); assertEquals("_createConsent", methodValidator.getMethodName()); assertSame(headerValidators, methodValidator.getValidatorWrapper().getHeaderValidators()); assertSame(bodyValidators, methodValidator.getValidatorWrapper().getBodyValidators()); assertTrue(methodValidator.getValidatorWrapper().getQueryParameterValidators().isEmpty()); }