@Test
public void testRedecorateList() {

    JList list = new JList();
    JTextField textField = new JTextField();
    AutoCompleteDecorator.decorate(list, textField);
    
    int expectedListSelectionListenerCount = list.getListSelectionListeners().length;
    
    AutoCompleteDecorator.decorate(list, textField);
    
    assertThat(list.getListSelectionListeners().length, is(expectedListSelectionListenerCount));
}