public function testFromNative()
{
$constructedArray = \SplFixedArray::fromArray(array(new KeyValuePair(new StringLiteral('0'), new StringLiteral('zero')), new KeyValuePair(new StringLiteral('1'), new StringLiteral('one')), new KeyValuePair(new StringLiteral('2'), new StringLiteral('two'))));
$fromNativeArray = \SplFixedArray::fromArray(array('zero', 'one', 'two'));
$constructedDictionary = new Dictionary($constructedArray);
$fromNativeDictionary = Dictionary::fromNative($fromNativeArray);
$this->assertTrue($constructedDictionary->sameValueAs($fromNativeDictionary));
}