@@ -0,0 +1,794 @@
+package uk.ac.ebi.atlas.search.analyticsindex.baseline;%0A%0Aimport com.google.common.collect.ImmutableList;%0Aimport com.google.common.collect.ImmutableMap;%0Aimport org.apache.commons.lang3.tuple.Pair;%0Aimport org.junit.Test;%0Aimport uk.ac.ebi.atlas.search.SemanticQuery;%0A%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0Apublic class QueryBuilderTest %7B%0A%0A    QueryBuilder subject = new QueryBuilder();%0A%0A    @Test%0A    public void doQuery()%7B%0A        String result = subject.buildSolrQuery(ImmutableList.of(Pair.of(%22identifierSearch%22, SemanticQuery.create%0A                (%22zinc %22 +%0A                %22finger%22)), Pair.of(%22conditionSearch%22,SemanticQuery.create(%22lung%22))));%0A%0A        assertThat(result, is(%22identifierSearch:(%5C%22zinc finger%5C%22) AND conditionSearch:(%5C%22lung%5C%22)%22));%0A    %7D%0A%0A%7D

Test for the query builder