error handling for missing query string
diff --git a/src/test/java/CollectionQueryTreeTest.java b/src/test/java/CollectionQueryTreeTest.java
index aef9d49..24aadfd 100644
--- a/src/test/java/CollectionQueryTreeTest.java
+++ b/src/test/java/CollectionQueryTreeTest.java
@@ -1,13 +1,9 @@
-import static org.junit.Assert.*;
-import de.ids_mannheim.korap.query.serialize.CollectionQueryBuilder;
-import de.ids_mannheim.korap.query.serialize.CollectionQueryBuilder2;
import de.ids_mannheim.korap.query.serialize.CollectionQueryTree;
-import de.ids_mannheim.korap.resource.Relation;
import de.ids_mannheim.korap.util.QueryException;
-import de.ids_mannheim.korap.utils.JsonUtils;
-import de.ids_mannheim.korap.utils.TimeUtils;
import org.junit.Test;
+import static org.junit.Assert.assertEquals;
+
public class CollectionQueryTreeTest {
CollectionQueryTree cqt;
@@ -166,8 +162,8 @@
cqt.process(query);
map = cqt.getRequestMap().toString();
assertEquals(expected.replaceAll(" ", ""), map.replaceAll(" ", ""));
-
- query = "(textClass=Sport & textClass=ausland) | (corpusID=WPD & author=White & year=2010)";
+
+ query = "(textClass=Sport & textClass=ausland) | (corpusID=WPD & author=White & year=2010)";
expected =
"{@type=korap:filter, filter=" +
"{@type=korap:docGroup, relation=relation:or, operands=[" +