@Override
    public Space get() throws BackgroundException {
        try {
            final AccountSettingsApi account = new AccountSettingsApi(session.getClient());
            final AccountStorage quota = account.accountSettingsGetAccountStorage();
            return new Space(quota.getUsed(), quota.getAvailable());
        }
        catch(ApiException e) {
            throw new StoregateExceptionMappingService(fileid).map("Failure to read attributes of {0}", e,
                new DefaultHomeFinderService(session).find());
        }
    }
@Test
    public void get() throws Exception {
        final Quota.Space quota = new StoregateQuotaFeature(session, new StoregateIdProvider(session)).get();
        assertNotNull(quota.available);
        assertNotNull(quota.used);
        assertNotEquals(0L, quota.available, 0L);
        assertNotEquals(0L, quota.used, 0L);
        assertTrue(quota.available < quota.available + quota.used);
    }