assertFileExists($path); $compiler = app('blade.compiler'); $compiled = $compiler->compileString((string) file_get_contents($path)); $this->assertNotSame('', $compiled); } }