public static Account createTestAccount(CloudStackGlobalApi client, String prefix) { return client.getAccountApi().createAccount(prefix + "-account", Account.Type.USER, "dummy@example.com", "First", "Last", base16().lowerCase().encode(md5().hashString("password", UTF_8).asBytes())); }