/** * @covers ::getDescription */ public function testGetDescription() { $item = new ProductItem(); $item->setProduct(new Product(['name' => 'test name'])); $this->assertEquals('test name', $item->getDescription()); }