public function testSlapdEntriesException()
 {
     $this->setExpectedException('InvalidArgumentException', 'LIB_SHLDAP_ERR_10121', 10121);
     $ldap = new SHLdap(TestsHelper::getLdapConfig(214));
     $ldap->getEntries(array('this should be a resource'));
 }