public function testListingSingle()
{
$response = $this->restCall('/jarves/admin/file/single?path=/');
$file = $response['data'];
$this->assertNotNull($file);
$this->assertGreaterThan(0, $file['id']);
$this->assertEquals('/', $file['path']);
$this->assertEquals('/', $file['name']);
$this->assertEquals('/', $file['dir']);
$this->assertEquals(true, $file['writeAccess']);
$this->assertEquals('dir', $file['type']);
$response = $this->restCall('/jarves/admin/file/single?path=/bundles');
$file = $response['data'];
$this->assertNotNull($file);
$this->assertGreaterThan(0, $file['id']);
$this->assertEquals('/bundles', $file['path']);
$this->assertEquals('bundles/', $file['name']);
$this->assertEquals('/', $file['dir']);
$this->assertEquals(true, $file['writeAccess']);
$this->assertEquals('dir', $file['type']);
}