/**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->values = array();
     $this->constraintGuesser = $this->getMock('Pim\\Bundle\\CatalogBundle\\Validator\\ConstraintGuesserInterface');
     $this->importValidator = new ProductImportValidator($this->validator, $this->constraintGuesser);
     $this->product = $this->getMockBuilder('Pim\\Bundle\\CatalogBundle\\Model\\Product')->setMethods(array('getValue'))->getMock();
     $this->product->expects($this->any())->method('getValue')->will($this->returnCallback(array($this, 'getProductValue')));
     $this->identifierColumn = $this->getColumnInfoMock('id');
     $this->identifierColumn->getAttribute()->expects($this->any())->method('getAttributeType')->will($this->returnValue(ProductTransformer::IDENTIFIER_ATTRIBUTE_TYPE));
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->importValidator = new ImportValidator($this->validator);
     $this->entity = $this->getMock('Pim\\Bundle\\CatalogBundle\\Model\\ReferableInterface');
 }