public function testOpenLdapSchemaObjectClassAliases() { if ($this->_getLdap()->getRootDse()->getServerType() !== Zend_Ldap_Node_RootDse::SERVER_TYPE_OPENLDAP) { $this->markTestSkipped('Test can only be run on an OpenLDAP server'); } $objectClasses = $this->_schema->getObjectClasses(); $this->assertArrayHasKey('OpenLDAProotDSE', $objectClasses); $this->assertArrayHasKey('LDAProotDSE', $objectClasses); $ob1 = $objectClasses['OpenLDAProotDSE']; $ob2 = $objectClasses['LDAProotDSE']; $this->assertSame($ob1, $ob2); }