/** * @expectedException \PHPUnit_Framework_Error_Warning */ public function testWGS84ToED50BadEllipsoid() { $LatLng = new LatLng(12.3, 12.3, RefEll::Bessel1841()); $LatLng->WGS84ToED50(); }