function testRenderLayout() { $this->app->render('hello', array('name' => 'Bob'), 'content'); $this->app->render('layouts/layout'); $this->expectOutputString('<html>Hello, Bob!</html>'); }