### Question:
PeriodicPaymentTypeValidatorImpl extends SinglePaymentTypeValidatorImpl { @Override public PaymentType getPaymentType() { return PaymentType.PERIODIC; } @Autowired  PeriodicPaymentTypeValidatorImpl(ErrorBuildingService errorBuildingService, Xs2aObjectMapper xs2aObjectMappe,
                                            PaymentMapper paymentMapper, AmountValidator amountValidator,
                                            IbanValidator ibanValidator); @Override PaymentType getPaymentType(); @Override MessageError validate(Object body, MessageError messageError, PaymentValidationConfig validationConfig);  }### Answer:
@Test void getPaymentType() { assertEquals(PaymentType.PERIODIC, validator.getPaymentType()); }