/**
  * @param bool $isPurchasedSeparatelyBool
  * @param string $isPurchasedSeparatelyStr
  * @return void
  * @dataProvider modifyDataDataProvider
  */
 public function testModifyData($isPurchasedSeparatelyBool, $isPurchasedSeparatelyStr)
 {
     $productId = 1;
     $linksTitle = 'Link Title';
     $linksData = 'Some data';
     $resultData = [$productId => [Links::DATA_SOURCE_DEFAULT => ['links_title' => $linksTitle, 'links_purchased_separately' => $isPurchasedSeparatelyStr], 'downloadable' => ['link' => $linksData]]];
     $this->locatorMock->expects($this->once())->method('getProduct')->willReturn($this->productMock);
     $this->productMock->expects($this->any())->method('getId')->willReturn($productId);
     $this->linksDataMock->expects($this->once())->method('getLinksTitle')->willReturn($linksTitle);
     $this->linksDataMock->expects($this->once())->method('isProductLinksCanBePurchasedSeparately')->willReturn($isPurchasedSeparatelyBool);
     $this->linksDataMock->expects($this->once())->method('getLinksData')->willReturn($linksData);
     $this->assertEquals($resultData, $this->links->modifyData([]));
 }