### Question:
OpenAMClientRegistration implements OpenIdConnectClientRegistration { @VisibleForTesting String findLocaleSpecificString(Collection<String[]> delimitedStrings, Locale locale) { String defaultValue = null; if (delimitedStrings == null) { return defaultValue; } for (String language : languageStrings(locale)) { for (String[] value : delimitedStrings) { if (value.length == 2) { if (value[0].equalsIgnoreCase(language)) { return value[1]; } } else { defaultValue = value[0]; } } } return defaultValue; } OpenAMClientRegistration(AMIdentity amIdentity, PEMDecoder pemDecoder, OpenIdResolverService resolverService,
            OAuth2ProviderSettings providerSettings, ClientAuthenticationFailureFactory failureFactory); Set<URI> getRedirectUris(); @Override Set<URI> getPostLogoutRedirectUris(); Set<String> getAllowedResponseTypes(); String getClientSecret(); String getClientId(); String getAccessTokenType(); String getDisplayName(Locale locale); String getDisplayDescription(Locale locale); Map<String, String> getScopeDescriptions(Locale locale); Map<String, String> getClaimDescriptions(Locale locale); Set<String> getDefaultScopes(); Set<String> getAllowedScopes(); boolean isConfidential(); String getClientSessionURI(); ClientType getClientType(); long getAuthorizationCodeLifeTime(OAuth2ProviderSettings providerSettings); long getAccessTokenLifeTime(OAuth2ProviderSettings providerSettings); long getRefreshTokenLifeTime(OAuth2ProviderSettings providerSettings); long getJwtTokenLifeTime(OAuth2ProviderSettings providerSettings); String getIDTokenSignedResponseAlgorithm(); @Override boolean isIDTokenEncryptionEnabled(); @Override String getIDTokenEncryptionResponseAlgorithm(); @Override String getIDTokenEncryptionResponseMethod(); @Override PublicKey getIDTokenEncryptionPublicKey(); String getTokenEndpointAuthMethod(); String getSubjectType(); @Override boolean verifyJwtIdentity(final OAuth2Jwt jwt); @Override boolean isConsentImplied(); @Override boolean isPolicyBasedProtectionEnabled(); @Override URI getSectorIdentifierUri(); String getSubValue(String id, OAuth2ProviderSettings providerSettings);  }### Answer:
@Test(dataProvider = "languageStrings") public void testFindLocaleSpecificString(Set<String> strings, Locale locale, String expected) throws Exception { List<String[]> splitStrings = clientRegistration.splitPipeDelimited(strings, "").get(""); String result = clientRegistration.findLocaleSpecificString(splitStrings, locale); assertThat(result).isEqualTo(expected); }