package uk.ac.ebi.quickgo.rest.search.query;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by rantunes on 29/11/15.
 */
public class TestUtil {
    public static <T> Set<T> asSet(T... elements) {
        return new HashSet<>(Arrays.asList(elements));
    }
}

@@ -90,16 +90,48 @@
 ashSet;%0A
+import java.util.LinkedHashSet;%0A
 import j
@@ -284,16 +284,22 @@
 urn new 
+Linked
 HashSet%3C

Change implementation of asSet to use LinkedHashSet instead of HashSet. This is to preserve the ordering for test purposes.