### Question:
SQLiteDatabaseHelper { public List<String> getTableColumns(String tableName) { List<String> columns = Lists.newArrayList(); String cmd = "pragma table_info(" + tableName + ");"; Cursor cur = database.rawQuery(cmd, null); cur.moveToFirst(); while (!cur.isAfterLast()) { columns.add(cur.getString(cur.getColumnIndex("name"))); cur.moveToNext(); } cur.close(); return columns; } SQLiteDatabaseHelper(Database database); void dropColumn(String createTableCmd,
                            String tableName,
                            String... colsToRemove); List<String> getTableColumns(String tableName);  }### Answer:
@Test public void testGetTableColumns() { List<String> cols = helper.getTableColumns(testTable); assertThat(cols, containsIgnoringCase("Col1", "Col2", "Col3")); }