History { public void clear(boolean undoAll) { LOGGER.trace("Clear called, with undoAll: " + undoAll); if (undoAll) { undoAll(); } LOGGER.trace("Clearing changes"); changes.clear(); position.set(-1); validPosition.set(-1); } History(); void attachChangeListener(Setting setting); void doWithoutListeners(Setting setting, Runnable action); boolean undo(); void undoAll(); boolean redo(); void redoAll(); void clear(boolean undoAll); boolean isUndoAvailable(); BooleanProperty undoAvailableProperty(); boolean isRedoAvailable(); BooleanProperty redoAvailableProperty(); ObservableList<Change> getChanges(); ReadOnlyObjectProperty<Change> currentChangeProperty(); boolean isListenerActive(); ReadOnlyBooleanProperty listenerActiveProperty(); void setListenerActive(boolean listenerActive);  }
@Test public void clear() { }