@Test
public void testFindOrCreateByDbxAccount() throws Exception {
// if DbxAccount is null, getOrCreateUser should just return null
assertNull(User.upsert(null, TOKEN, SECRET));
DbxAccount account = new DbxAccount();
account.uid = ID;
account.name = NAME;
assertNotNull(User.upsert(account, TOKEN, SECRET).id);
}