/** * @depends testSet * @param Map * @return void */ public function testRemove(Map $mapObject) { $this->assertTrue($mapObject->remove(self::$mapKey[1])); $this->assertEquals(count($mapObject), 2); $this->assertEquals($mapObject->get(self::$mapKey[0]), self::$mapValue[0]); $this->assertNull($mapObject->get(self::$mapKey[1])); $this->assertEquals($mapObject->get(self::$mapKey[2]), self::$mapValue[2]); $this->assertNull($mapObject->get(self::$mapKey[3])); }