/** * @expectedException \PHPUnit_Framework_Error_Warning */ public function testED50ToWGS84BadEllipsoid() { $LatLng = new LatLng(12.3, 12.3, RefEll::GRS80()); $LatLng->ED50ToWGS84(); }