hasRequiredElements() public method

public hasRequiredElements ( ) : bool
return bool
 public void test_EventAssignment()
 {
     EventAssignment ea = new EventAssignment(2,4);
       assertEquals( false, (ea.hasRequiredElements()) );
       ea.setMath(libsbml.parseFormula("fd"));
       assertEquals( true, ea.hasRequiredElements() );
       ea = null;
 }