public function testSetNorthingValue() { $utmObject = new UTM(); $fluidReturn = $utmObject->setNorthing($this->_northing); $northing = $utmObject->getNorthing(); $this->assertEquals($this->_northing, $northing); // Test fluid return object $this->assertTrue(is_object($fluidReturn)); // ... of the correct type $this->assertTrue(is_a($fluidReturn, 'Geodetic\\UTM')); }