expectException(\InvalidArgumentException::class); $this->app()->getContainer()->make(Factory::class)->make('integration.test::test'); } /** * @test */ public function custom_view_namespace_can_be_added_by_extender() { $this->extend( (new Extend\View) ->namespace('integration.test', dirname(__FILE__, 3).'/fixtures/views') ); $this->assertEquals('Hello World!', trim($this->app()->getContainer()->make(Factory::class)->make('integration.test::test')->render())); } }