/** * @group tricks/services */ public function testSetCharset() { $builder = new Builder(Mockery::mock('Tricks\\Repositories\\TrickRepositoryInterface'), Mockery::mock('Illuminate\\Http\\Response'), Mockery::mock('Illuminate\\View\\Environment')); $builder->setCharset('foo'); $this->assertSame('foo', $this->getProtectedProperty($builder, 'charset')); }
/** * Show the RSS feed. * * @return \Response */ public function getRss() { return $this->builder->render('rss'); }