public void test_Species_clone() { Species o1 = new Species(2,4); o1.setId("c"); o1.setSpeciesType("c1"); assertTrue( o1.getId() == "c" ); assertEquals(o1.getSpeciesType(), "c1"); Species o2 = o1.clone(); assertTrue( o2.getId() == "c" ); assertEquals(o2.getSpeciesType(), "c1"); assertTrue( o2.getParentSBMLObject() == o1.getParentSBMLObject() ); o2 = null; o1 = null; }