public function test_ArrayAccess_SetValue() { $h = new HashSet(['a', 'b', 1]); $h['d'] = true; $h['a'] = false; $this->assertTrue($h->has('d')); $this->assertFalse($h->has('a')); }