import models.User.AccountType;
public class TestUtil {
public static User createUser(long id) throws Exception {
AccountType type = (id % 2) == 0 ? AccountType.DROPBOX : AccountType.BOX;
User user = new User(type);
user.id = id;
user.setName("Name " + id);
user.setToken("sometoken");
if (type == AccountType.DROPBOX) {