public function testGetProductParent()
 {
     $this->typeInstance->expects($this->once())->method('getStoreFilter')->with($this->product)->willReturn(true);
     $this->product->expects($this->once())->method('getTypeInstance')->willReturn($this->typeInstance);
     $this->configurable->setData('product', $this->product);
     $this->assertEquals($this->product, $this->configurable->getProduct());
 }
 /**
  * {@inheritdoc}
  */
 public function getProduct()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getProduct');
     if (!$pluginInfo) {
         return parent::getProduct();
     } else {
         return $this->___callPlugins('getProduct', func_get_args(), $pluginInfo);
     }
 }