/**
  * @test
  * @covers WalmartApiClient\Entity\Collection\AbstractCollection::clear
  */
 public function testClear()
 {
     $product = new \WalmartApiClient\Entity\Product(['itemId' => 1]);
     $collection = new ProductCollection([$product]);
     $collection->clear();
     $this->assertTrue($collection->getAll() === []);
 }