public function testTaxonomyListing()
{
$this->setRequest(Request::create('/categories/news'));
$this->getService('config')->set('taxonomy/categories/singular_slug', 'categories');
$response = $this->controller()->taxonomy($this->getRequest(), 'categories', 'news');
$this->assertTrue($response instanceof TemplateResponse);
$this->assertSame('listing.twig', $response->getTemplate()->getTemplateName());
$this->assertNotEmpty($response->getGlobals());
}