/**
  * @expectedException \Magento\Framework\Exception\InputException
  * @expectedExceptionMessage Only implemented for bundle product
  */
 public function testGetListException()
 {
     $productSku = 'simple';
     $productMock = $this->getMock('\\Magento\\Catalog\\Api\\Data\\ProductInterface');
     $productMock->expects($this->once())->method('getTypeId')->willReturn('simple');
     $this->productRepositoryMock->expects($this->once())->method('get')->with($productSku)->willReturn($productMock);
     $this->assertEquals(['object'], $this->model->getList($productSku));
 }