/**
  * @return void
  */
 public function testGetExcludeProductIds()
 {
     $collection = $this->getMockBuilder('Magento\\Catalog\\Model\\ResourceModel\\Product\\Compare\\Item\\Collection')->disableOriginalConstructor()->setMethods(['getEntityId'])->getMock();
     $collection->expects($this->once())->method('getEntityId')->willReturn(1);
     $product = $this->getMockBuilder('Magento\\Catalog\\Model\\Product')->disableOriginalConstructor()->setMethods(['getId'])->getMock();
     $product->expects($this->once())->method('getId')->willReturn(2);
     $this->catalogProductHelperMock->expects($this->once())->method('hasItems')->willReturn(true);
     $this->catalogProductHelperMock->expects($this->once())->method('getItemCollection')->willReturn([$collection]);
     $this->registryMock->expects($this->any())->method('registry')->willReturn($product);
     $this->assertEquals([1, 2], $this->compared->getExcludeProductIds());
 }