Пример #1
0
 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'));
 }