AuthenticationDataValidator { public List<CustomAuthenticationValidator> getCustomAuthenticationValidators() { return customAuthenticationValidators; } AuthenticationDataValidator(List<CustomAuthenticationValidator> customAuthenticationValidators);  AuthenticationDataValidator(); @SuppressWarnings("deprecation") void validate(AuthenticationData authenticationData, AuthenticationParameters authenticationParameters); CoreMaliciousCounterValueHandler getMaliciousCounterValueHandler(); void setMaliciousCounterValueHandler(CoreMaliciousCounterValueHandler maliciousCounterValueHandler); List<CustomAuthenticationValidator> getCustomAuthenticationValidators();  }
@Test void getCustomAuthenticationValidators() { CustomAuthenticationValidator customAuthenticationValidator = mock(CustomAuthenticationValidator.class); target.getCustomAuthenticationValidators().add(customAuthenticationValidator); assertThat(target.getCustomAuthenticationValidators()).contains(customAuthenticationValidator); }