/** * @dataProvider orderedMaps */ public function testThatOrderedMapGetReturnsNullForRemovedKeys(IOrderedMap $orderedMap) { foreach ($this->orderedMapKeyValues() as $key) { $orderedMap->set($key, true); $orderedMap->remove($key); $this->assertNull($orderedMap->get($key), 'The ordered map should return null for the removed key'); } }