threadsListener.getValue().onValueAdded(thread); threadsListener.getValue().onValueRemoved(thread); threadsListener.getValue().onValueAdded(thread); Mockito.verifyNoMoreInteractions(blipListener);
blipsListener.getValue().onValueAdded(blip); blipsListener.getValue().onValueRemoved(blip); blipsListener.getValue().onValueAdded(blip); verifyNoMoreInteractions(threadListener);
threadsListener.getValue().onValueAdded(thread); threadsListener.getValue().onValueRemoved(thread); threadsListener.getValue().onValueAdded(thread); Mockito.verifyNoMoreInteractions(blipListener);
blipsListener.getValue().onValueAdded(blip); blipsListener.getValue().onValueRemoved(blip); blipsListener.getValue().onValueAdded(blip); verifyNoMoreInteractions(threadListener);
private void fireElementRemoved(T child) { for (ObservableElementList.Listener<? super T> l : listeners) { l.onValueRemoved(child); } } }
private void fireElementAdded(T child) { for (ObservableElementList.Listener<? super T> l : listeners) { l.onValueAdded(child); } }