public function testCastingInstanceToStringShouldCallRender() { $this->bundle->start(); echo $this->includeAll(); $this->bundle->end(); $this->assertEquals($this->bundle->render(), (string) $this->bundle); }