public function testCartItem() { $item = new Product(['price' => 10, 'id' => 1]); $this->assertEquals(10, $item->getPrice()); $this->assertEquals(1, $item->getUniqueId()); $this->assertInstanceOf('\\Modules\\Cart\\Interfaces\\ICartItem', $item); }