Esempio n. 1
0
 /**
  * @dataProvider toLdapProvider
  */
 public function testToLdap($expect, $convert)
 {
     $this->assertEquals($expect, Converter::toLdap($convert['value'], $convert['type']));
 }
Esempio n. 2
0
 /**
  * @param  mixed $value
  * @return string|null
  */
 private static function valueToLdap($value)
 {
     return Converter\Converter::toLdap($value);
 }