assertList(new Variant[] {variant1}, list);
list = builder.languages(Locale.ENGLISH).encodings("UTF-16").add().build();
assertList(new Variant[] {variant2}, list);
list = builder.languages(Locale.ENGLISH).encodings("UTF-8", "UTF-16").add().build();
assertList(new Variant[] {variant1, variant2}, list);
list = builder.languages(Locale.ENGLISH, Locale.CHINESE).encodings("UTF-8").add().build();
assertList(new Variant[] {variant1, variant3}, list);