public function testIsEmpty() { $collection = new Collection(); $this->assertTrue($collection->isEmpty()); $collection->push('a'); $this->assertFalse($collection->isEmpty()); }