Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class FileManagerTest extends AbstractTest |
||
14 | { |
||
15 | public function testWrite() |
||
16 | { |
||
17 | $filePath = FileManager::filePath(); |
||
18 | |||
19 | $collection = new DefinitionsCollection([ |
||
20 | 'test1' => 'Test1', |
||
21 | 'test2' => 'Test2' |
||
22 | ]); |
||
23 | |||
24 | FileManager::write($collection); |
||
25 | |||
26 | self::assertFileExists($filePath); |
||
27 | } |
||
28 | |||
29 | public function testRead() |
||
39 | } |
||
40 | } |
||
41 |