@Test
  public void shouldNotifyListenerWhenSavedResourceIsFound() throws CoreException {
    SaveListener listener = mock(SaveListener.class);

    detector = new SaveDetector(listener);
    detector.processEvent(null);

    verify(listener).filesSaved();
  }