setExpectedException('LogicException', 'LDAP group filter empty, check the parameter LDAP_GROUP_FILTER'); $backend = new LdapBackendGroupProvider($this->container); $backend->getLdapGroupPattern('test'); } }