/** * Test collection empty method * * @return void */ public function testIsEmpty() { $this->assertFalse($this->collection->isEmpty()); $this->collection->clear(); $this->assertTrue($this->collection->isEmpty()); }