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

    final OidcService service = getServiceWithNoOidcSupport();
    service.createState(TEST_REQUEST_IDENTIFIER);
}