Example #1
0
 public function testContainsAll()
 {
     // Remove the following lines when you implement this test.
     $col = new HashSet();
     $col->add(1);
     $col->add(5);
     $col->add(6);
     $col->add(2);
     $this->assertTrue($this->object->containsAll($col));
     $col->add(788);
     $this->assertFalse($this->object->containsAll($col));
 }