public function testRender()
{
$view = 'some:valid:view.html.twig';
$params = array('foo' => 'bar', 'truc' => 'muche');
$tplResult = "I'm a template result";
$this->templateEngineMock->expects($this->once())->method('render')->with($view, $params)->will($this->returnValue($tplResult));
$response = $this->controller->render($view, $params);
self::assertInstanceOf('Symfony\\Component\\HttpFoundation\\Response', $response);
self::assertSame($tplResult, $response->getContent());
}