/** * @covers \Core\FileSystem\FileSystemKernel::find */ public function testFileFind() { /* * Glob doesn't work with vfsStream */ $this->assertCount(2, FileSystem::find('*.php', __DIR__)); $this->assertContains('ExplorerTest.php', FileSystem::find('*.php', __DIR__)[0]); $this->assertContains('FileSystemTest.php', FileSystem::find('*.php', __DIR__)[1]); }
public function store($path, $content) { return FileSystem::write($path, $content); }