### Question:
AuthorizationApiClient extends BaseClient implements IAMApi { public String authorize(String clientId, String redirectUri, String scopes, String codeChallenge) { Request request = new Request.Builder() .url(this.createAuthorizeUrl(clientId, redirectUri, scopes, codeChallenge)) .get().build(); return executeAndGetBody(redirectClient, request); } AuthorizationApiClient(OAuthConfig config);   AuthorizationApiClient(OAuthConfig config, OkHttpClient redirectClient, OkHttpClient noRedirectClient); String authorize(String clientId, String redirectUri, String scopes, String codeChallenge); String authorize(String clientId, String redirectUri, String scopes); String retrieveAuthCode(String action, String sessionId, String sessionData);  }### Answer:
@Test public void testAuthorize_shouldReturnResponseBodyAsString() throws IOException { Mockito.when(mockBody.string()).thenReturn("test-body"); assertThat(apiClient.authorize(null, null, null, null)).isEqualToIgnoringCase("test-body"); }