public function testToValuesArray() { $dictionary = new Map(); $dictionary->set('key1', 'value1')->set('key2', 'value2'); $expected = ['value1', 'value2']; $this->assertEquals($expected, $dictionary->toValuesArray()); }