public void CreateBCastEventNoArgs() { ChaskisEvent e = this.factory.EventCreators[pluginName].CreateBcastEvent( new Dictionary <string, string>() ); string xmlString = e.ToString(); Assert.IsFalse(xmlString.Contains(Environment.NewLine)); ChaskisEvent recreatedEvent = ChaskisEvent.FromXml(xmlString); this.CompareEvents(e, recreatedEvent); }
public void CreateBCastEvent() { ChaskisEvent e = this.factory.EventCreators[pluginName].CreateBcastEvent( this.expectedArgs, this.expectedPassthroughArgs ); string xmlString = e.ToString(); Assert.IsFalse(xmlString.Contains(Environment.NewLine)); ChaskisEvent recreatedEvent = ChaskisEvent.FromXml(xmlString); this.CompareEvents(e, recreatedEvent); }