mockServer
.expect(requestTo("https://api.dropbox.com/1/account/info"))
.andExpect(method(GET))
.andRespond(withResponse(jsonResource("/profileValid"), responseHeaders));
DropboxUserProfile profile = dropbox.getUserProfile();
assertEquals("US", profile.getCountry());
assertEquals("Some User", profile.getDisplayName());
assertEquals("some email", profile.getEmail());
assertEquals(BigInteger.valueOf(10), profile.getUid());
assertEquals("referralLink", profile.getReferralLink());
assertEquals(BigInteger.valueOf(108179488768L), profile.getQuota());
assertEquals(BigInteger.valueOf(44962990383L), profile.getSharedQuota());
assertEquals(BigInteger.valueOf(46970996076L), profile.getNormalQuota());
}