### Question:
OIDCConfig { @Nullable public Uri getDiscoveryUri() { if (mAccount.mDiscoveryUri == null) { return null; } if (mAccount.mDiscoveryUri.contains(OPENID_CONFIGURATION_RESOURCE) || mAccount.mDiscoveryUri.contains(OAUTH2_CONFIGURATION_RESOURCE)) { return Uri.parse(mAccount.mDiscoveryUri); } else { return Uri.parse(mAccount.mDiscoveryUri + (mIsOAuth2Configuration ? OAUTH2_CONFIGURATION_RESOURCE : OPENID_CONFIGURATION_RESOURCE)); } } private  OIDCConfig(AccountInfo account); String getClientId(); Uri getRedirectUri(); Uri getEndSessionRedirectUri(); @Nullable Uri getDiscoveryUri(); boolean isOAuth2Configuration(); String[] getScopes(); @Nullable CustomConfiguration getCustomConfiguration();  }### Answer:
@Test public void getDiscoveryUri() { Uri uri = mConfig.getDiscoveryUri(); assertNotNull(uri); assertEquals(uri, Uri.parse(CUSTOM_URL + ProviderConfiguration.OPENID_CONFIGURATION_RESOURCE)); assertFalse(mConfig.isOAuth2Configuration()); }