container); $this->assertInstanceOf(Smarty::class, $view); } /** * Test the create() function with a X-Forwarded-Proto header. * * @return void * @throws SmartyException */ public function testCreateWithXForwardedProto() { $view = ViewFactory::create( $this->container, $this->container->get('request')->withHeader('X-Forwarded-Proto', 'https') ); $this->assertInstanceOf(Smarty::class, $view); } }