/** * @covers spriebsch\MVC\View */ public function testSomething() { $request = $this->getMock('\\spriebsch\\MVC\\Request'); $response = $this->getMock('\\spriebsch\\MVC\\Response'); $view = new View(__DIR__ . '/_testdata/View/all'); $view->setViewScript('body'); $this->assertEquals('headbodyfoot', $view->render($request, $response)); }