private void addRoles(User user, String... roles) { user.getRoles().addAll(Arrays.asList(roles)); }
private User newUser(String name) { User user = JsontestFactory.eINSTANCE.createUser(); user.setName(name); return user; }