1<?php 2/** 3 * Copyright 2010-2017 Horde LLC (http://www.horde.org/) 4 * 5 * @package Ldap 6 * @subpackage UnitTests 7 * @author Jan Schneider <jan@horde.org> 8 * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL-3.0 9 */ 10 11class Horde_Ldap_EntryTest extends PHPUnit_Framework_TestCase 12{ 13 public function testCreateFreshSuccess() 14 { 15 $entry = Horde_Ldap_Entry::createFresh('cn=test', 16 array('attr1' => 'single', 17 'attr2' => array('mv1', 'mv2'))); 18 $this->assertInstanceOf('Horde_Ldap_Entry', $entry); 19 } 20} 21