public function testCorrectTemplate()
{
$this->templating->expects($this->any())->method('exists')->will($this->returnValue(true));
$this->validator->validate(array('_template' => 'TwigBundle::layout.html.twig'), $this->constraint);
$this->assertNoViolation();
}