public function testGetters($obj) { $this->assertEquals($obj->getValue(), "TestSample"); $this->assertEquals($obj->getUnit(), "TestSample"); }