public function testMatchProductEquals()
 {
     $products = $this->createAndPersistProducts(10);
     $spec = new ProductSpecification();
     $spec->equals('name', 'product2');
     $product = $this->productGateway->findOne($spec);
     $this->assertNotNull($product);
     $this->assertEquals('product2', $product->getName());
 }
 public function testMerchandiseSpecification()
 {
     $storeChannel = new Channel();
     $spec = new ProductSpecification();
     $spec->equals('name', 't-shirt')->withChannel($storeChannel);
 }