Search in sources :

Example 1 with ClientTypeRegistry

use of org.uberfire.client.workbench.type.ClientTypeRegistry in project kie-wb-common by kiegroup.

the class OverviewWidgetPresenterTest method setUp.

@Before
public void setUp() throws Exception {
    ClientTypeRegistry clientTypeRegistry = mock(ClientTypeRegistry.class);
    view = mock(OverviewScreenView.class);
    editor = new OverviewWidgetPresenter(clientTypeRegistry, view);
    editor.user = new UserImpl("");
    presenter = editor;
    overview = new Overview();
}
Also used : ClientTypeRegistry(org.uberfire.client.workbench.type.ClientTypeRegistry) UserImpl(org.jboss.errai.security.shared.api.identity.UserImpl) Overview(org.guvnor.common.services.shared.metadata.model.Overview) Before(org.junit.Before)

Aggregations

Overview (org.guvnor.common.services.shared.metadata.model.Overview)1 UserImpl (org.jboss.errai.security.shared.api.identity.UserImpl)1 Before (org.junit.Before)1 ClientTypeRegistry (org.uberfire.client.workbench.type.ClientTypeRegistry)1