/** * @expectedException Exception */ public function testSetZValueInvalid() { $latLongObject = new LatLong($this->_xyz); $fluidReturn = $latLongObject->setHeight(); }