Esempio n. 1
0
 /**
  * @depends  testSet
  * @param    HashMap
  * @return   void
  */
 public function testClear(HashMap $hashMapObject)
 {
     $hashMapObject->clear();
     $this->assertEquals(count($hashMapObject), 0);
     $this->assertNull($hashMapObject->get(self::$mapKey[0]));
     $this->assertNull($hashMapObject->get(self::$mapKey[1]));
     $this->assertNull($hashMapObject->get(self::$mapKey[2]));
     $this->assertNull($hashMapObject->get(self::$mapKey[3]));
 }