public function testWillThrowAnExceptionWhenUserDoesNotMatch()
{
$this->request->expects($this->once())->method('getContent')->will($this->returnValue('{"user": "user"}'));
$this->request->expects($this->once())->method('getUser')->will($this->returnValue('otheruser'));
$this->getNewResource()->createShortUrl($this->event);
}