assertEquals(2, network.getEdgeCount());
}
@Test
public void speciesAttributeTest() throws IOException {
CyAttributes nAtt = Cytoscape.getNodeAttributes();
assertEquals("s1", (String) nAtt.getAttribute("s1", CySBMLConstants.ATT_ID));
assertEquals("s1", (String) nAtt.getAttribute("s1", CySBMLConstants.ATT_NAME));
assertEquals("c1", (String) nAtt.getAttribute("s1", CySBMLConstants.ATT_COMPARTMENT));
assertEquals(false, (Boolean) nAtt.getAttribute("s1", CySBMLConstants.ATT_BOUNDARY_CONDITION));
assertEquals(false, (Boolean) nAtt.getAttribute("s1", CySBMLConstants.ATT_CONSTANT));
assertEquals(false, (Boolean) nAtt.getAttribute("s1", CySBMLConstants.ATT_HAS_ONLY_SUBSTANCE_UNITS));
assertEquals("s2", (String) nAtt.getAttribute("s2", CySBMLConstants.ATT_ID));
assertEquals("s2", (String) nAtt.getAttribute("s2", CySBMLConstants.ATT_NAME));
assertEquals("c1", (String) nAtt.getAttribute("s2", CySBMLConstants.ATT_COMPARTMENT));
assertEquals(false, (Boolean) nAtt.getAttribute("s2", CySBMLConstants.ATT_BOUNDARY_CONDITION));
assertEquals(false, (Boolean) nAtt.getAttribute("s2", CySBMLConstants.ATT_CONSTANT));
assertEquals(false, (Boolean) nAtt.getAttribute("s2", CySBMLConstants.ATT_HAS_ONLY_SUBSTANCE_UNITS));
}