@Test
public void testSelectIncremental() throws Exception {

    Statement st = Mockito.mock(Statement.class);
    ResultSet rs = Mockito.mock(ResultSet.class);
    DatabaseMetaData databaseMetaData = Mockito.mock(DatabaseMetaData.class);
    Mockito.when(conn.createStatement()).thenReturn(st);
    Mockito.when(st.executeQuery("select col1, col2 from testTable")).thenReturn(rs);
    Mockito.when(conn.prepareStatement(Mockito.anyString())).thenReturn(Mockito.mock(PreparedStatement.class));
    Mockito.when(conn.getMetaData()).thenReturn(databaseMetaData);
    Mockito.when(databaseMetaData.getIdentifierQuoteString()).thenReturn("");
    int overlapTime = 0;
    Date lastLoadDate = new Date(1458872629591L);
    int backoffTime = 0;
    tableDataSupport.selectIncremental("testTable", new String[]{"col1", "col2"}, "col2", overlapTime, lastLoadDate, backoffTime, GetTableDataSupport.UnitSizes.NONE);
}