    @Test
    public void changingRootDirectoryShouldNotifyThroughBus() throws Exception {

        File mockRootDirectory = mock(File.class);
        CurrentRootDirectoryChangedEvent expectedEvent = new CurrentRootDirectoryChangedEvent(mockRootDirectory);

        sut.setRootDirectoryAndNotify(mockRootDirectory);

        verify(mockBus).post(eq(expectedEvent));
    }