public function setUp() { $test_array = array(); $test_array[0] = 'Object 0'; $test_array[100] = 'Object 100'; $test_array[5000] = 'Object 5000'; $this->oh = KVDhtml_AbstractOptionsHelper::arrayOptionsHelper($test_array); }
public function setUp() { $test_array = array(); $test_array[0] = new KVDdom_SimpleTestDomainObject(0, 'Object 0'); $test_array[100] = new KVDdom_SimpleTestDomainObject(100, 'Object 100'); $test_array[5000] = new KVDdom_SimpleTestDomainObject(5000, 'Object 5000'); $coll = new KVDdom_DomainObjectCollection($test_array); $this->oh = KVDhtml_AbstractOptionsHelper::objectOptionsHelper($coll); }