### Question:
SpreadsheetView extends Control { public final void setShowRowHeader(final boolean b) { showRowHeader.setValue(b); } SpreadsheetView();  SpreadsheetView(final Grid grid); void setCellGraphicFactory(CellGraphicFactory cellGraphicFactory); CellGraphicFactory getCellGraphicFactory(); boolean isRowHidden(int row); BitSet getHiddenRows(); final ObjectProperty<BitSet> hiddenRowsProperty(); void setHiddenRows(BitSet hiddenRows); void setHiddenColumns(BitSet hiddenColumns); boolean isColumnHidden(int column); BitSet getHiddenColumns(); final ObjectProperty<BitSet> hiddenColumnsProperty(); int getFilteredRow(); void setFilteredRow(Integer row); void hideRow(int row); void hideColumn(SpreadsheetColumn column); void showRow(int row); void showColumn(SpreadsheetColumn column); int getFilteredRow(int modelRow); int getViewColumn(int modelColumn); int getModelColumn(int viewColumn); int getViewRow(int modelRow); int getModelRow(int viewRow); int getFilteredSourceIndex(int viewRow); int getRowSpan(SpreadsheetCell cell, int index); int getReverseRowSpan(SpreadsheetCell cell, int index); int getRowSpanFilter(SpreadsheetCell cell); ObservableList<ObservableList<SpreadsheetCell>> getItems(); int getColumnSpan(SpreadsheetCell cell); final Double getZoomFactor(); final void setZoomFactor(Double zoomFactor); final DoubleProperty zoomFactorProperty(); void incrementZoom(); void decrementZoom(); void edit(int row, SpreadsheetColumn column); Comparator getComparator(); ObjectProperty<Comparator<? super ObservableList<SpreadsheetCell>>> comparatorProperty(); void setComparator(Comparator<ObservableList<SpreadsheetCell>> comparator); final void setGrid(Grid grid); TablePosition<ObservableList<SpreadsheetCell>, ?> getEditingCell(); ReadOnlyObjectProperty<TablePosition<ObservableList<SpreadsheetCell>, ?>> editingCellProperty(); final ObservableList<SpreadsheetColumn> getColumns(); final Grid getGrid(); final ReadOnlyObjectProperty<Grid> gridProperty(); ObservableList<Integer> getFixedRows(); boolean isRowFixable(int row); boolean areRowsFixable(List<? extends Integer> list); boolean isFixingRowsAllowed(); void setFixingRowsAllowed(boolean b); ReadOnlyBooleanProperty fixingRowsAllowedProperty(); ObservableList<SpreadsheetColumn> getFixedColumns(); boolean isColumnFixable(int columnIndex); boolean areSpreadsheetColumnsFixable(List<? extends SpreadsheetColumn> list); boolean areColumnsFixable(List<? extends Integer> list); boolean isFixingColumnsAllowed(); void setFixingColumnsAllowed(boolean b); ReadOnlyBooleanProperty fixingColumnsAllowedProperty(); final void setShowColumnHeader(final boolean b); final boolean isShowColumnHeader(); final BooleanProperty showColumnHeaderProperty(); final void setShowRowHeader(final boolean b); final boolean isShowRowHeader(); final BooleanProperty showRowHeaderProperty(); final DoubleProperty rowHeaderWidthProperty(); final void setRowHeaderWidth(double value); final double getRowHeaderWidth(); ObservableMap<Integer, Picker> getRowPickers(); ObservableMap<Integer, Picker> getColumnPickers(); void resizeRowsToFitContent(); void resizeRowsToMaximum(); void resizeRowsToDefault(); double getRowHeight(int row); SpreadsheetViewSelectionModel getSelectionModel(); void scrollToRow(int row); void setVBarValue(double value); void setHBarValue(double value); double getVBarValue(); double getHBarValue(); void scrollToColumn(SpreadsheetColumn column); void scrollToColumnIndex(int modelColumn); final Optional<SpreadsheetCellEditor> getEditor(SpreadsheetCellType<?> cellType); final void setEditable(final boolean b); final boolean isEditable(); final BooleanProperty editableProperty(); final ObjectProperty<Node> placeholderProperty(); final void setPlaceholder(final Node placeholder); final Node getPlaceholder(); void copyClipboard(); void pasteClipboard(); ContextMenu getSpreadsheetViewContextMenu(); void deleteSelectedCells(); SpanType getSpanType(final int rowIndex, final int modelColumn);  }### Answer:
@Test public void testSetShowRowHeader() { spv.setShowRowHeader(false); Assert.assertFalse(spv.isShowRowHeader()); spv.setShowRowHeader(true); Assert.assertTrue(spv.isShowRowHeader()); }