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