Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TypeMapperTest.php
Go to the documentation of this file.
1 <?php
8 
11 
15 class TypeMapperTest extends \PHPUnit\Framework\TestCase
16 {
22  private $model;
23 
24  public function setUp()
25  {
26  $this->model = new TypeMapper();
27  }
28 
34  public function testMap($packageType, $expected)
35  {
36  static::assertEquals(
37  $expected,
38  $this->model->map($packageType)
39  );
40  }
41 
45  public function mapDataProvider()
46  {
47  return [
51  ];
52  }
53 }