assertTrue(LdapUtils::isDn($dn), 'DN should be tested as valid value: ' . $dn); } } public function testIsDnForInvalidValues() { foreach (static::$invalidDn as $dn) { $this->assertFalse(LdapUtils::isDn($dn), 'DN should be tested as invalid value: ' . $dn); } } }