@Override
    public Space get() throws BackgroundException {
        try {
            final EueApiClient client = new EueApiClient(session);
            final UserInfoApi userInfoApi = new UserInfoApi(client);
            final UserInfoResponseModel userInfoResponseModel = userInfoApi.userinfoGet(null, null);
            if(log.isDebugEnabled()) {
                log.debug(String.format("Received user info %s", userInfoResponseModel));
            }
            return new Space(userInfoResponseModel.getQuotas().getContentSize().getCurrent(),
                    userInfoResponseModel.getQuotas().getContentSize().getMax() - userInfoResponseModel.getQuotas().getContentSize().getCurrent());
        }
        catch(ApiException e) {
            throw new EueExceptionMappingService().map("Failure to read attributes of {0}", e,
                new DefaultHomeFinderService(session).find());
        }
    }
@Test
    public void testGetQuota() throws Exception {
        final Quota.Space quota = new EueQuotaFeature(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);
    }