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