@@ -0,0 +1,1766 @@
+/*%0A * Copyright (c) 2013-2016 Cinchapi Inc.%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A * http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.cinchapi.concourse.bugrepro;%0A%0Aimport java.util.Iterator;%0Aimport java.util.List;%0Aimport java.util.Map;%0Aimport java.util.Set;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport com.cinchapi.concourse.test.ConcourseIntegrationTest;%0Aimport com.google.common.collect.Lists;%0Aimport com.google.common.collect.Maps;%0A%0A/**%0A * Unit test to repro issue GH-112%0A * %0A * @author Jeff Nelson%0A */%0Apublic class GH112 extends ConcourseIntegrationTest %7B%0A%0A    @Test%0A    public void repro() %7B%0A        Map%3CString, Object%3E data = Maps.newHashMap();%0A        data.put(%22title%22, %22Director of Engineering%22);%0A        data.put(%22name%22, %22Jane Doe%22);%0A        data.put(%22salary%22, 20.0);%0A        data.put(%22role%22, %22Director%22);%0A        long record = client.insert(data);%0A        List%3CString%3E keys = Lists.newArrayList(%22name%22, %22salary%22, %22title%22);%0A        Map%3CLong, Map%3CString, Set%3CObject%3E%3E%3E results = client.select(keys,%0A                %22role = Director and salary %3E 10%22);%0A        Iterator%3CString%3E it = results.get(record).keySet().iterator();%0A        while (it.hasNext()) %7B%0A            String key = it.next();%0A            Assert.assertEquals(key, keys.remove(0));%0A        %7D%0A    %7D%0A%0A%7D%0A

add unit test repro