@@ -0,0 +1,1907 @@
+package org.davidmoten.rx.jdbc;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertFalse;%0Aimport static org.junit.Assert.assertTrue;%0A%0Aimport java.lang.reflect.Method;%0Aimport java.math.BigInteger;%0Aimport java.time.Instant;%0A%0Aimport org.junit.Test;%0A%0Apublic class UtilTest %7B%0A%0A    @Test%0A    public void testIsHashCode() throws NoSuchMethodException, SecurityException %7B%0A        Method method = Object.class.getMethod(%22hashCode%22);%0A        assertTrue(Util.isHashCode(method, new Object%5B%5D %7B%7D));%0A    %7D%0A%0A    @Test%0A    public void testNotHashCodeIfHasArgs() throws NoSuchMethodException, SecurityException %7B%0A        Method method = Object.class.getMethod(%22hashCode%22);%0A        assertFalse(Util.isHashCode(method, new Object%5B%5D %7B 12 %7D));%0A    %7D%0A%0A    @Test%0A    public void testNotHashCodeIfMethodNameWrong() throws NoSuchMethodException, SecurityException %7B%0A        Method method = Object.class.getMethod(%22equals%22, Object.class);%0A        assertFalse(Util.isHashCode(method, new Object%5B%5D %7B%7D));%0A    %7D%0A%0A    @Test%0A    public void testDoubleQuote() %7B%0A        String sql = %22select %5C%22FRED%5C%22 from tbl where name=?%22;%0A        assertEquals(1, Util.countQuestionMarkParameters(sql));%0A    %7D%0A%0A    @Test%0A    public void testAutomapDateToLong() %7B%0A        assertEquals(100L, (long) Util.autoMap(new java.sql.Date(100), Long.class));%0A    %7D%0A%0A    @Test%0A    public void testAutomapDateToBigInteger() %7B%0A        assertEquals(100L,%0A                ((BigInteger) Util.autoMap(new java.sql.Date(100), BigInteger.class)).longValue());%0A    %7D%0A%0A    @Test%0A    public void testAutomapDateToInstant() %7B%0A        assertEquals(100L,%0A                ((Instant) Util.autoMap(new java.sql.Date(100), Instant.class)).toEpochMilli());%0A    %7D%0A    %0A    @Test%0A    public void testAutomapDateToString() %7B%0A        assertEquals(100L,%0A                ((java.sql.Date) Util.autoMap(new java.sql.Date(100), String.class)).getTime());%0A    %7D%0A%7D%0A

add tests for automap