@Test(expected = SecurityProviderCreationException.class)
public void testNoSearchBasesSpecified() throws Exception {

    final AuthorizerConfigurationContext configurationContext = getBaseConfiguration(null, null);
    ldapUserGroupProvider.onConfigured(configurationContext);
}