9 use \Magento\Framework\Mview\Config;
25 $this->dataMock = $this->createMock(\
Magento\Framework\Mview\
Config\Data::class);
33 $this->dataMock->expects($this->once())
35 ->will($this->returnValue([
'some_data']));
36 $this->assertEquals([
'some_data'], $this->model->getViews());
41 $this->dataMock->expects($this->once())
44 ->will($this->returnValue([
'some_data']));
45 $this->assertEquals([
'some_data'], $this->model->getView(
'some_view'));