public function testDoesNotDoContentNegotiationWhenTheRequestedPathIncludesAnExtension()
{
$this->request->expects($this->once())->method('getExtension')->will($this->returnValue('json'));
$model = $this->getMock('Imbo\\Model\\Stats');
$this->response->expects($this->once())->method('getModel')->will($this->returnValue($model));
$this->contentNegotiation->expects($this->never())->method('isAcceptable');
$this->responseFormatter->negotiate($this->event);
$this->assertSame('json', $this->responseFormatter->getFormatter());
}