### Question:
GetTableDataSupport { public ResultSet selectFullLoad(String tableName, String[] selectFields) throws SQLException { final Statement st = conn.createStatement(); st.setQueryTimeout(timeout); String query = getSelectQuery(tableName, selectFields); logger.info("Executing full GetTableData query {}", query); st.setQueryTimeout(timeout); return st.executeQuery(query); } GetTableDataSupport(Connection conn, int timeout); ResultSet selectFullLoad(String tableName, String[] selectFields); ResultSet selectIncremental(String tableName, String[] selectFields, String dateField, int overlapTime, Date lastLoadDate, int backoffTime, UnitSizes unit);  }### Answer:
@Test public void testSelectFullLoad() 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(conn.getMetaData()).thenReturn(databaseMetaData); Mockito.when(databaseMetaData.getIdentifierQuoteString()).thenReturn(""); Mockito.when(st.executeQuery("select col1, col2 from testTable")).thenReturn(rs); tableDataSupport.selectFullLoad("testTable", new String[]{"col1", "col2"}); }