@Test
public void testNullIfDefaultValue() throws Exception {

    JDBCConnection jdbcConn = new JDBCConnection(mockConn, true);
    assertNull(jdbcConn.nullIfDefaultValue(false, false));
    assertTrue(jdbcConn.nullIfDefaultValue(true, false));
    assertNull(jdbcConn.nullIfDefaultValue(0, 0));
    assertEquals(jdbcConn.nullIfDefaultValue(10, 0), Integer.valueOf(10));
    jdbcConn.close();
}