given(editorInput.getAdapter(IFile.class)).willReturn(editorIFile);
given(fileNature.isTrackableFile(editorIFile)).willReturn(true);
// when
editorTracker.start();
MarkdownListener markdownListener1 = mock(MarkdownListener.class);
editorTracker.addListener(markdownListener1);
editorTracker.editorShown(editorPart);
editorTracker.stop();
editorTracker.start();
MarkdownListener markdownListener2 = mock(MarkdownListener.class);
editorTracker.addListener(markdownListener2);
editorTracker.editorShown(editorPart);
editorTracker.stop();
// then