use of org.cytoscape.application.events.SetSelectedNetworksEvent in project cytoscape-api by cytoscape.
the class SetSelectedNetworksEventTest method testNullGetSelectedNetworksEvent.
@Test
public void testNullGetSelectedNetworksEvent() {
final SetSelectedNetworksEvent e = new SetSelectedNetworksEvent(source, null);
assertNull(e.getNetworks());
}
use of org.cytoscape.application.events.SetSelectedNetworksEvent in project cytoscape-api by cytoscape.
the class SetSelectedNetworksEventTest method testGoodGetSelectedNetworksEvent.
@Test
public void testGoodGetSelectedNetworksEvent() {
final List<CyNetwork> networks = new ArrayList<CyNetwork>();
final SetSelectedNetworksEvent e = new SetSelectedNetworksEvent(source, networks);
assertNotNull(e.getNetworks());
assertEquals(networks, e.getNetworks());
}
Aggregations