public function testGetLdapServerNotConfigured() { $this->setExpectedException('\\LogicException'); $ldap = new Client(); $ldap->getLdapServer(); }