public function setUp()
{
$config = ['feeds' => ['article' => ['title' => 'My articles/posts', 'description' => 'Latests articles', 'link' => 'http://github.com/eko/FeedBundle', 'encoding' => 'utf-8', 'author' => 'Vincent Composieux']]];
$router = $this->getMock('Symfony\\Component\\Routing\\RouterInterface');
$router->expects($this->any())->method('generate')->with('fake_route', [], UrlGeneratorInterface::ABSOLUTE_URL)->will($this->returnValue('http://github.com/eko/FeedBundle/article/fake/url?utm_source=mysource&utm_medium=mymedium&utm_campaign=mycampaign&utm_content=mycontent'));
$translator = $this->getMock('Symfony\\Component\\Translation\\TranslatorInterface');
$formatters = ['rss' => new RssFormatter($translator, 'test'), 'atom' => new AtomFormatter($translator, 'test')];
$this->manager = new FeedManager($router, $config, $formatters);
}