RegistrationDataValidator { public List<CustomRegistrationValidator> getCustomRegistrationValidators() { return customRegistrationValidators; } RegistrationDataValidator(
            List<AttestationStatementValidator> attestationStatementValidators,
            CertPathTrustworthinessValidator certPathTrustworthinessValidator,
            SelfAttestationTrustworthinessValidator selfAttestationTrustworthinessValidator,
            List<CustomRegistrationValidator> customRegistrationValidators,
            ObjectConverter objectConverter); @SuppressWarnings("deprecation") void validate(RegistrationData registrationData, RegistrationParameters registrationParameters); List<CustomRegistrationValidator> getCustomRegistrationValidators();  }
@Test void getCustomRegistrationValidators() { CustomRegistrationValidator customRegistrationValidator = mock(CustomRegistrationValidator.class); target.getCustomRegistrationValidators().add(customRegistrationValidator); assertThat(target.getCustomRegistrationValidators()).contains(customRegistrationValidator); }