### Question:
PropsTableView implements TableViewResource { @Override public List<String> getColumns() { return new ArrayList<String>(columnMap.keySet()); } PropsTableView(); @Override List<String> getColumns(); @Override TableViewResource setColumnSearchTerm(String column, String term); @Override TableViewResource setAllColumnsSearchTerm(String term); @Override TableViewResource enableColumnSort(String column, boolean isDescending); @Override JsonArray getData(); @Override int getTotalNumOfRecords(); @Override int getFilteredNumOfRecords(); @Override TableViewResource setCurrentPageInfo(int startIndex, int count); static final String KEY; static final String VALUE; }### Answer:
@Test public void verifyColumnNames() { final PropsTableView ptv = new PropsTableView(); final List<String> columns = ptv.getColumns(); assertTrue(columns != null); assertTrue(columns.size() == 2); assertTrue(columns.get(0).equals("Key")); assertTrue(columns.get(1).equals("Value")); }