public function testGetY() { $point = new Point(1, 2); $this->assertNotNull($point); $this->assertSame('2', $point->getY()); }