@@ -0,0 +1,1114 @@
+package org.davidmoten.rx.jdbc;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport java.util.Collections;%0A%0Aimport org.junit.Test;%0A%0Aimport com.github.davidmoten.guavamini.Lists;%0A%0Apublic class SqlInfoTest %7B%0A%0A    @Test%0A    public void testExpansionNoParameters() %7B%0A        String s = SqlInfo.expandQuestionMarks(%22? ?%22, Collections.emptyList());%0A        assertEquals(%22? ?%22, s);%0A    %7D%0A%0A    @Test%0A    public void testExpansionEmpty() %7B%0A        String s = SqlInfo.expandQuestionMarks(%22%22, Collections.emptyList());%0A        assertEquals(%22%22, s);%0A    %7D%0A%0A    @Test%0A    public void testExpansionWithParametersNoCollections() %7B%0A        Parameter p = new Parameter(12);%0A        String s = SqlInfo.expandQuestionMarks(%22? hello ?%22, Lists.newArrayList(p, p));%0A        assertEquals(%22? hello ?%22, s);%0A    %7D%0A%0A    @Test%0A    public void testExpansionWithParametersCollectionPresent() %7B%0A        Parameter p1 = new Parameter(12);%0A        Parameter p2 = new Parameter(Lists.newArrayList(1, 2, 3));%0A        String s = SqlInfo.expandQuestionMarks(%22? hello ?%22, Lists.newArrayList(p1, p2));%0A        assertEquals(%22? hello ?,?,?%22, s);%0A    %7D%0A%0A%7D%0A

add SqlInfo.expandQuestionMarks