Exemplo n.º 1
0
 /**
  * @covers       CollectionType\Collection\CollectionAbstract::clear
  * @covers       CollectionType\Collection\CollectionAbstract::getAll
  */
 public function testClear()
 {
     $this->collection->add('A');
     $this->collection->add('B');
     $this->collection->add('C');
     $this->collection->clear();
     $result = $this->collection->getAll();
     $this->assertEquals([], $result);
 }