public function testRenderingViewWithContext() { $this->controller->layout = null; $this->controller->controller = 'test'; $this->controller->template = 'index'; $this->controller->context = 'rss'; $this->controller->rssVariable = 'RSS test'; $this->assertEquals('RSS test', $this->renderer->render($this->controller)); $this->controller->layout = 'test'; $this->assertEquals('{RSS test}', $this->renderer->render($this->controller)); }