| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ShopConfigTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testGet() |
||
| 12 | { |
||
| 13 | $shopConfig = new ShopConfig(__DIR__ . '/test_config.php'); |
||
| 14 | |||
| 15 | $this->assertSame('bar', $shopConfig->get('foo')); |
||
| 16 | $this->assertSame(['foo1', 'foo2'], $shopConfig->get('bar')); |
||
| 17 | $this->assertNull($shopConfig->get('foobar')); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function testGetFail() |
||
| 25 | } |
||
| 26 | } |