public function testCreateFilesystemDirectoryList() { $result = Bootstrap::createFilesystemDirectoryList('test', [Bootstrap::INIT_PARAM_FILESYSTEM_DIR_PATHS => [DirectoryList::APP => ['path' => '/custom/path']]]); /** @var \Magento\Framework\App\Filesystem\DirectoryList $result */ $this->assertInstanceOf('Magento\\Framework\\App\\Filesystem\\DirectoryList', $result); $this->assertEquals('/custom/path', $result->getPath(DirectoryList::APP)); }