/** * @covers ::getName * @covers ::getDescription */ public function testGetName() { $item = new ProductItem(['id' => 1232]); $this->assertSame('Item', $item->getDescription()); $this->assertSame(1232, $item->getName()); }