public function testResponses()
{
$this->getApp()->flush();
$this->setRequest(Request::create('/upload/files', 'POST', [], [], [], []));
$response = $this->controller()->uploadNamespace($this->getRequest(), 'files');
$this->assertEquals(Response::HTTP_OK, $response->getStatusCode());
// We haven't posted a file so an empty resultset should be returned
$content = json_decode($response->getContent());
$this->assertEquals(0, count($content));
}