wireMockRule.stubFor(post(urlEqualTo(TOKEN_PATH)).willReturn(aResponse()
.withHeader(CONTENT_TYPE, APPLICATION_X_WWW_FORM_URLENCODED.toRfcString())
.withBody(encodeString(tokenUrlResponseParameters, UTF_8))));
final ImmutableMap<String, String> redirectUrlQueryParams = ImmutableMap.<String, String>builder()
.put(CODE_PARAMETER, AUTHENTICATION_CODE).put(STATE_PARAMETER, state.getValue()).build();
<BUG>muleContext.getClient().send(localCallbackUrl.getValue() + "?" + encodeQueryString(redirectUrlQueryParams),
InternalMessage.builder().nullPayload().build(),
newOptions().tlsContextFactory(createClientTlsContextFactory()).build());
verifyRequestDoneToTokenUrlForAuthorizationCode();</BUG>
OAuthContextFunctionAsserter.createFrom(muleContext.getRegistry().get("tokenManagerConfig"))

wireMockRule.stubFor(post(urlEqualTo(TOKEN_PATH)).willReturn(aResponse()
.withHeader(CONTENT_TYPE, APPLICATION_X_WWW_FORM_URLENCODED.toRfcString())
.withBody(encodeString(tokenUrlResponseParameters, UTF_8))));
final ImmutableMap<String, String> redirectUrlQueryParams = ImmutableMap.<String, String>builder()
.put(CODE_PARAMETER, AUTHENTICATION_CODE).put(STATE_PARAMETER, state.getValue()).build();
HttpRequest request = HttpRequest.builder()
.setUri(localCallbackUrl.getValue() + "?" + encodeQueryString(redirectUrlQueryParams)).setMethod(GET).build();
httpClient.send(request, RECEIVE_TIMEOUT, false, null);
verifyRequestDoneToTokenUrlForAuthorizationCode();
OAuthContextFunctionAsserter.createFrom(muleContext.getRegistry().get("tokenManagerConfig"))
