### Question:
LogoutRequest extends WebRequest { @Override @NonNull public Uri toUri() { return mParameters.toUri(); } LogoutRequest(Parameters parameters); @Override String getState(); @Override @NonNull Uri toUri(); @NonNull String getKey(); @Override String persist();  }### Answer:
@Test public void toUri() { Uri uri = mRequest.toUri(); assertEquals(uri.getQueryParameter("id_token_hint"), mTokenResponse.getIdToken()); assertEquals(uri.getQueryParameter("state"), CUSTOM_STATE); assertEquals(uri.getQueryParameter("post_logout_redirect_uri"), mConfig.getEndSessionRedirectUri().toString()); }