/** * @expectedException Exception * @expectedExceptionMessage This point doest not exist */ public function testGetPointException() { $p1 = new Polygon(); $p1->getPoint(0); }
/** * @expectedException Exception * @expectedExceptionMessage This point doest not exist */ public function testGetPointException() { $p1 = new Polygon(); $p1->getPoint(0); }