/** * @covers ::setUnit * @covers ::getUnit */ public function testUnit() { $this->unit->setUnit('yd'); $this->assertEquals('yd', $this->unit->getUnit()); }