| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class StandardTest extends \PHPUnit\Framework\TestCase |
||
| 13 | { |
||
| 14 | private $object; |
||
| 15 | |||
| 16 | |||
| 17 | protected function setUp() : void |
||
| 18 | { |
||
| 19 | \Aimeos\MShop::cache( true ); |
||
| 20 | |||
| 21 | $context = \TestHelper::context(); |
||
| 22 | $this->object = new \Aimeos\Controller\Jobs\Common\Product\Import\Csv\Cache\Product\Standard( $context ); |
||
| 23 | } |
||
| 24 | |||
| 25 | |||
| 26 | protected function tearDown() : void |
||
| 27 | { |
||
| 28 | \Aimeos\MShop::cache( false ); |
||
| 29 | } |
||
| 30 | |||
| 31 | |||
| 32 | public function testGet() |
||
| 33 | { |
||
| 34 | $this->assertNotEquals( null, $this->object->get( 'CNC' ) ); |
||
| 35 | } |
||
| 36 | |||
| 37 | |||
| 38 | public function testGetUnknown() |
||
| 39 | { |
||
| 40 | $this->assertEquals( null, $this->object->get( 'cache-test' ) ); |
||
| 41 | } |
||
| 42 | |||
| 43 | |||
| 44 | public function testSet() |
||
| 54 | } |
||
| 55 | } |
||
| 56 |