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

    final OidcService service = getServiceWithNoOidcSupport();
    service.isStateValid(TEST_REQUEST_IDENTIFIER, new State(TEST_STATE));
}