public function testClear() { $this->coll[0] = 'one'; $this->coll[1] = 'two'; $this->coll->clear(); $this->assertEquals($this->coll->isEmpty(), true); }