@Test(expected = IllegalStateException.class)
public void testOidcNotEnabledExchangeCode() throws Exception {

    final OidcService service = getServiceWithNoOidcSupport();
    service.exchangeAuthorizationCode(TEST_REQUEST_IDENTIFIER, getAuthorizationCodeGrant());
}