You are here

public function Twig_Tests_EnvironmentTest::testRenderNoLoader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest::testRenderNoLoader()

@expectedException LogicException @expectedExceptionMessage You must set a loader first. @group legacy

File

vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php, line 19

Class

Twig_Tests_EnvironmentTest

Code

public function testRenderNoLoader() {
  $env = new Twig_Environment();
  $env
    ->render('test');
}