### Question:
DefaultClientSecretGenerator extends DefaultValues { @Override public Set getDefaultValues() { return generateSecretHolder(); }  @Override Set getDefaultValues();  }### Answer:
@Test public void testGetDefaultValues() { final DefaultClientSecretGenerator secretGenerator = new DefaultClientSecretGenerator(); final int testIterations = 100; for (int i = 0; i < testIterations; ++i) { @SuppressWarnings("unchecked") final Set<String> secretHolder = secretGenerator.getDefaultValues(); assertThat(secretHolder).isNotNull(); final int expectedSize = 1; assertThat(secretHolder.size()).isEqualTo(expectedSize); final String secret = secretHolder.iterator().next(); logger.debug("Generated secret was {}", secret); final boolean containsOnlyValidChars = secret.matches("[a-zA-Z0-9+/]{16}"); logger.debug("containsOnlyValidChars is {}", containsOnlyValidChars); assertThat(secret.matches("[a-zA-Z0-9+/]{16}")).isTrue(); } }