clone() public method

public clone ( ) : Event
return Event
 public void test_Event_clone()
 {
     Event o1 = new Event(2,4);
       o1.setId("c");
       assertTrue( o1.getId() ==  "c" );
       Event o2 = o1.clone();
       assertTrue( o2.getId() ==  "c" );
       assertTrue( o2.getParentSBMLObject() == o1.getParentSBMLObject() );
       o2 = null;
       o1 = null;
 }