public function testThatClearingTheSetRemovesAllValues(ISet $set) { $this->assertTrue($set->add(1)); $this->assertTrue($set->add(2)); $this->assertCount(2, $set); $set->clear(); $this->assertCount(0, $set); }