/** * @test */ public function write() { ob_start(); $this->view->write('bar'); $this->assertSame('bar', ob_get_clean()); }