Ejemplo n.º 1
0
 public function testIndexOf()
 {
     $map = new Map(["a" => 1, "b" => 2, "c" => 3, "d" => 3]);
     $this->assertEquals("b", $map->indexOf(2));
     $this->assertEquals("c", $map->indexOf(3));
 }