public static AccountGroup of(String name, String description) { return new AccountGroup( ID.NONE, name, description, Authorisations.none(), false); }
public static Account of(String name, String fullName, String email, SecurityRole role, AuthenticationSource authenticationSource) { return new Account( ID.NONE, name, fullName, email, authenticationSource, role, new ArrayList<>(), Authorisations.none(), false ); }