Gets a test by name.
string $name The test name:
Twig_Test|false A Twig_Test instance or false if the test does not exist
public function getTest($name) {
if (!$this->extensionInitialized) {
$this
->initExtensions();
}
if (isset($this->tests[$name])) {
return $this->tests[$name];
}
return false;
}