/** * @covers InputConverter::setPoint * @covers InputConverter::getPoint */ public function testSetPoint() { $point = \GeomPoint::fromXY(12, 21); $map = array(); $this->converter->setPoint($map, "key", $point); $expected = array("key_X" => 12, "key_Y" => 21, "key" => $point); $this->assertEquals($expected, $map); $actual = $this->converter->getPoint($map, "key"); $this->assertEquals($point, $actual); }