@Test
public void testLoadContentSuccess() throws Exception {

    doReturn(content).when(service).loadContent(eq(path));
    presenter.loadContent();
    verify(view).setContent(eq(templateModel),
                            eq(oracle),
                            any(),
                            notNull(EventBus.class),
                            eq(false));
    final Imports imports = templateModel.getImports();
    verify(kieView).addImportsTab(eq(importsWidgetPresenter));
    verify(importsWidgetPresenter).setContent(eq(oracle),
                                              same(imports),
                                              eq(false));
}