public function testIfAddPointsWorksAsExpected()
{
$polygon = new Polygon();
$this->assertEquals(array(), $polygon->getPoints());
$point1 = new Coordinate(10, 10);
$polygon->addPoint($point1);
$this->assertEquals(array($point1), $polygon->getPoints());
$point2 = new Coordinate(10, 20);
$polygon->addPoint($point2);
$this->assertEquals(array($point1, $point2), $polygon->getPoints());
}