Search in sources :

Example 1 with VisualStyleSetEvent

use of org.cytoscape.view.vizmap.events.VisualStyleSetEvent in project cytoscape-api by cytoscape.

the class VizmapEventsTest method testVisualStyleSetEvent.

@Test
public void testVisualStyleSetEvent() {
    final CyNetworkView view = mock(CyNetworkView.class);
    final VisualStyleSetEvent event = new VisualStyleSetEvent(manager, style, view);
    assertEquals(style, event.getVisualStyle());
    assertEquals(view, event.getNetworkView());
}
Also used : VisualStyleSetEvent(org.cytoscape.view.vizmap.events.VisualStyleSetEvent) CyNetworkView(org.cytoscape.view.model.CyNetworkView) Test(org.junit.Test)

Aggregations

CyNetworkView (org.cytoscape.view.model.CyNetworkView)1 VisualStyleSetEvent (org.cytoscape.view.vizmap.events.VisualStyleSetEvent)1 Test (org.junit.Test)1