public function Twig_Tests_Extension_CoreTest::testRandomFunctionOfEmptyArrayThrowsException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/Extension/CoreTest.php \Twig_Tests_Extension_CoreTest::testRandomFunctionOfEmptyArrayThrowsException()
@expectedException Twig_Error_Runtime
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ Extension/ CoreTest.php, line 82
Class
Code
public function testRandomFunctionOfEmptyArrayThrowsException() {
twig_random(new Twig_Environment($this
->getMock('Twig_LoaderInterface')), array());
}