private static AbstractMap.SimpleImmutableEntry<String, String> splitQueryParameter(final String it) {
        val idx = it.indexOf('=');
        val key = idx > 0 ? it.substring(0, idx) : it;
        val value = idx > 0 && it.length() > idx + 1 ? it.substring(idx + 1) : null;
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
    }
This is {@link OAuth20TokenAuthorizationResponseBuilderTests}.

@author David Albrecht
@since 6.1.3
support/cas-server-support-oauth/src/test/java/org/apereo/cas/support/oauth/web/response/callback/OAuth20TokenAuthorizationResponseBuilderTests.java