public function testSetHit() { $point = new Coordinate(1, 1); $point->setHit(); $result = $point->isHit(); $this->assertTrue($result); }