public function testCreator() { Blade::creator("*", function ($view) { $view->with("items", ["One", "Two", "Three"]); }); $result = Blade::render("view9"); $this->assertSame(file_get_contents(__DIR__ . "/views/view9.html"), $result); }