| Total Complexity | 2 | 
| Total Lines | 34 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | class FileSystemInfoTest extends UnitTestCase  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * @throws StorageException  | 
            ||
| 17 | */  | 
            ||
| 18 | public function testValidateNoOptionsFailed(): void  | 
            ||
| 19 |     { | 
            ||
| 20 | $fsName = 'some';  | 
            ||
| 21 | |||
| 22 | $this->expectException(ConfigException::class);  | 
            ||
| 23 |         $this->expectExceptionMessage(\sprintf('Filesystem `%s` needs options defined', $fsName)); | 
            ||
| 24 | |||
| 25 | new LocalInfo(  | 
            ||
| 26 | $fsName,  | 
            ||
| 27 | [LocalInfo::ADAPTER_KEY => LocalFilesystemAdapter::class]  | 
            ||
| 28 | );  | 
            ||
| 29 | }  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * @throws StorageException  | 
            ||
| 33 | */  | 
            ||
| 34 | public function testValidateNoAdapterClassFailed(): void  | 
            ||
| 47 | ],  | 
            ||
| 48 | ]  | 
            ||
| 52 |