@Test
public void loadContent() {

    presenter.loadContent();
    verify(view,
           times(1)).showLoading();
    verify(globalsEditorService,
           times(1)).loadContent(any(Path.class));
    when(versionRecordManager.getCurrentPath()).thenReturn(mock(ObservablePath.class));
    // Emulate the globals being successfully loaded
    GlobalsEditorContent globalsEditorContent = mock(GlobalsEditorContent.class);
    Overview overview = mock(Overview.class);
    when(overview.getMetadata()).thenReturn(mock(Metadata.class));
    when(globalsEditorContent.getOverview()).thenReturn(overview);
    GlobalsModel globalsModel = mock(GlobalsModel.class);
    when(globalsEditorContent.getModel()).thenReturn(globalsModel);
    presenter.getModelSuccessCallback().callback(globalsEditorContent);
    verify(view,
           times(1)).setContent(anyListOf(Global.class),
                                anyListOf(String.class),
                                anyBoolean(),
                                anyBoolean());
    verify(view,
           times(1)).hideBusyIndicator();
}