### Question:
BnTable extends JTable implements View<IListPM<? extends PresentationModel>>, ModelSubscriber { public BnColumn[] getColumns() { return this.columns.toArray(new BnColumn[this.columns.size()]); } BnTable(); boolean isCellEditingAllowed(); void setCellEditingAllowed(boolean newValue); boolean isSortable(); void setSortable(boolean newValue); IListPM<? extends PresentationModel> getPresentationModel(); void setPresentationModel(IListPM<? extends PresentationModel> newModel); IModelProvider getModelProvider(); void setModelProvider(IModelProvider provider); Path getPath(); void setPath(Path path); BnColumn[] getColumns(); void addColumn(BnColumn newCol); void setColumns(BnColumn[] newCols); @Override void columnMarginChanged(ChangeEvent e);  }### Answer:
@Test public void testgetColumns() { this.table.setColumns(this.def); assertArrayEquals("table.getColumns()", this.def, this.table.getColumns()); }