public void CanAddAnotherTopic() { var yellowTopic = new TopicConfigurationElement(); yellowTopic.Name = "yellow"; var section = new LoomEsbConfigurationSection(); section.Topics.Add(yellowTopic); }
public void CanAddAnotherActor() { var actorB = new ActorConfigurationElement(); actorB.Name = "actorB"; var section = new LoomEsbConfigurationSection(); section.Actors.Add(actorB); }
public void CanAddATopic() { var greenTopic = new TopicConfigurationElement("green"); var section = new LoomEsbConfigurationSection(); section.Topics.Add(greenTopic); Assert.AreEqual(1, section.Topics.Count); Assert.AreEqual(greenTopic, section.Topics.Cast<TopicConfigurationElement>().First()); }
public void CanAddAnActor() { var actor = new ActorConfigurationElement("actorA"); var section = new LoomEsbConfigurationSection(); section.Actors.Add(actor); Assert.AreEqual(1, section.Actors.Count); Assert.AreEqual(actor, section.Actors.Cast<ActorConfigurationElement>().First()); }
public void CanAddAnotherTopic() { var yellowTopic = new TopicConfigurationElement(); yellowTopic.Name = "yellow"; var section = new LoomEsbConfigurationSection(); section.Topics.Add(yellowTopic); }
public void CanAddATopic() { var greenTopic = new TopicConfigurationElement("green"); var section = new LoomEsbConfigurationSection(); section.Topics.Add(greenTopic); Assert.AreEqual(1, section.Topics.Count); Assert.AreEqual(greenTopic, section.Topics.Cast <TopicConfigurationElement>().First()); }
public void CanAddAnotherActor() { var actorB = new ActorConfigurationElement(); actorB.Name = "actorB"; var section = new LoomEsbConfigurationSection(); section.Actors.Add(actorB); }
public void CanAddAnActor() { var actor = new ActorConfigurationElement("actorA"); var section = new LoomEsbConfigurationSection(); section.Actors.Add(actor); Assert.AreEqual(1, section.Actors.Count); Assert.AreEqual(actor, section.Actors.Cast <ActorConfigurationElement>().First()); }