public function testGetBursaWolfParameters() { $datumObject = new Datum(); $datumObject->setDatum(Datum::OSGB36); $bursaWolfParameters = $datumObject->getBursaWolfParameters(); // Must return an object... $this->assertTrue(is_object($bursaWolfParameters)); // ... of the correct type $this->assertTrue(is_a($bursaWolfParameters, 'Geodetic\\BursaWolfParameters')); }