use PHPUnit\Framework\TestCase;
use Symfony\Component\Form\Util\OrderedHashMap;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class OrderedHashMapTest extends TestCase
{ public function testGet() { $map =
new OrderedHashMap();
$map['first'
] = 1;
$this->
assertSame(1,
$map['first'
]);
} public function testGetNonExistingFails() { $this->
expectException(\OutOfBoundsException::
class);
$map =
new OrderedHashMap();
$map['first'
];
}