public void linkedAttachDoesNotCallPopupManager() {
ArgumentCaptor<AttachEvent.Handler> argument = ArgumentCaptor
.forClass(AttachEvent.Handler.class);
verify(sourceWidget, times(1)).addAttachHandler(argument.capture());
argument.getValue().onAttachOrDetach(new AttachEvent(true) {
});
verify(underTest, times(0)).onDetach();
}