Search in sources :

Example 1 with RenderingEngineManagerImpl

use of org.cytoscape.view.presentation.internal.RenderingEngineManagerImpl in project cytoscape-impl by cytoscape.

the class RenderingEngineManagerTest method setUp.

@Before
public void setUp() throws Exception {
    final CyEventHelper eventHelper = mock(CyEventHelper.class);
    final CyServiceRegistrar serviceRegistrar = mock(CyServiceRegistrar.class);
    when(serviceRegistrar.getService(CyEventHelper.class)).thenReturn(eventHelper);
    manager = new RenderingEngineManagerImpl(serviceRegistrar);
}
Also used : CyEventHelper(org.cytoscape.event.CyEventHelper) RenderingEngineManagerImpl(org.cytoscape.view.presentation.internal.RenderingEngineManagerImpl) CyServiceRegistrar(org.cytoscape.service.util.CyServiceRegistrar) Before(org.junit.Before)

Aggregations

CyEventHelper (org.cytoscape.event.CyEventHelper)1 CyServiceRegistrar (org.cytoscape.service.util.CyServiceRegistrar)1 RenderingEngineManagerImpl (org.cytoscape.view.presentation.internal.RenderingEngineManagerImpl)1 Before (org.junit.Before)1