public function testIsEmpty() { $set = new Set(); $set->add('hello', 'world', 100, function () { }, array(3, 2, 1)); $this->assertFalse($set->isEmpty()); $set = $set->clear(); $this->assertTrue($set->isEmpty()); }