public function longitude()
{
$this->checkContext('longitude', func_get_args());
return $this->longitude;
}
/** * @expectedException InvalidArgumentException */ public function testCheckContextLongitude() { $point = new GeoPoint(1.1, 2.2); $point->longitude(222.33); }