private PlatformUser givenUser(String locale) { Organization org = new Organization(); org.setOrganizationId(ORGANIZATION_ID); org.setName(ORGANIZATION_NAME); PlatformUser user = new PlatformUser(); user.setUserId(USER_ID); user.setOrganization(org); user.setLocale(locale); return user; }