@Test
public void attachChangeListener() throws Exception {

  setupMockProperty();
  verify(mockProperty, never()).addListener(any(ChangeListener.class));
  history.attachChangeListener(mockSetting);
  verify(mockProperty).addListener(any(ChangeListener.class));
}