### Question:
TimelineView extends CustomComponent implements IUpdatableWidget { boolean isCurrent() { return this.currentCheckBox.getValue(); } TimelineView(ISystemViewProvider systemViewProvider);   TimelineView(ISystemViewProvider systemViewProvider,
            Class<? extends Timeline> tlClass); @Override void update(); @Override boolean isActive(); @Override void activate(); @Override void deactivate(); void setCurrent(boolean isCurrent); void setTimeDisplay(Date date); void enableAutoScroll(); void disableAutoScroll(); void disableStop(); void enableStop(); void setHistoricalDate(Date current); void setStartDate(Date startDate); void setAttached(); void setDetached();  }### Answer:
@Test public void currentHistorical() { CheckBox currentCheckBox = timelineView.getCurrentCheckBox(); DateField timeDisplay = timelineView.getTimeDisplay(); CheckBox autoScrollCheckBox = timelineView.getAutoScrollCheckBox(); currentCheckBox.setValue(true); assertEquals(true, currentCheckBox.getValue()); assertEquals(true, timeline.isCurrent()); assertEquals(true, svp.isCurrent()); assertEquals(false, timeDisplay.isEnabled()); assertEquals(true, autoScrollCheckBox.isEnabled()); currentCheckBox.setValue(false); assertEquals(false, currentCheckBox.getValue()); assertEquals(false, timeline.isCurrent()); assertEquals(false, svp.isCurrent()); assertEquals(true, timeDisplay.isEnabled()); assertEquals(false, autoScrollCheckBox.isEnabled()); }