Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
MsrpTest.php
Go to the documentation of this file.
1 <?php
7 
10 use Magento\Msrp\Model\Config as MsrpConfig;
11 
16 {
20  private $msrpConfigMock;
21 
22  protected function setUp()
23  {
24  $this->msrpConfigMock = $this->getMockBuilder(MsrpConfig::class)
25  ->disableOriginalConstructor()
26  ->getMock();
27  parent::setUp();
28  }
29 
33  protected function createModel()
34  {
35  return $this->objectManager->getObject(Msrp::class, [
36  'locator' => $this->locatorMock,
37  'msrpConfig' => $this->msrpConfigMock,
38  ]);
39  }
40 
41  public function testModifyData()
42  {
43  $this->assertSame([], $this->getModel()->modifyData([]));
44  }
45 
46  public function testModifyMeta()
47  {
48  $this->assertSame([], $this->getModel()->modifyMeta([]));
49  }
50 }