Ejemplo n.º 1
0
 public function testIterator()
 {
     $this->collection->add('Hye');
     $this->collection->add(34);
     $this->collection->add(array('Hello'));
     $array = array();
     foreach ($this->collection as $key => $value) {
         $array[$key] = $value;
     }
     $this->assertEquals($array, $this->collection->toArray());
 }
Ejemplo n.º 2
0
 public function removeObjectClass($objectClass)
 {
     $this->objectClass->remove($objectClass);
     return $this;
 }