/**
  * @covers \Magento\Bundle\Helper\Catalog\Product\Configuration::getSelectionFinalPrice
  */
 public function testGetSelectionFinalPrice()
 {
     $itemQty = 2;
     $product = $this->getMock('Magento\\Catalog\\Model\\Product', [], [], '', false);
     $price = $this->getMock('Magento\\Bundle\\Model\\Product\\Price', [], [], '', false);
     $selectionProduct = $this->getMock('Magento\\Catalog\\Model\\Product', [], [], '', false);
     $selectionProduct->expects($this->once())->method('unsetData')->with('final_price');
     $this->item->expects($this->once())->method('getProduct')->will($this->returnValue($product));
     $this->item->expects($this->once())->method('getQty')->will($this->returnValue($itemQty));
     $product->expects($this->once())->method('getPriceModel')->will($this->returnValue($price));
     $price->expects($this->once())->method('getSelectionFinalTotalPrice')->with($product, $selectionProduct, $itemQty, 0, false, true);
     $this->helper->getSelectionFinalPrice($this->item, $selectionProduct);
 }