public void SetUp() { theGraph = new ChannelGraph { Name = "FooNode" }; var requirement = new GroupSubscriptionRequirement<BusSettings>(x => x.Upstream, x => x.Incoming); requirement.AddType(typeof(FooMessage)); requirement.AddType(typeof(BarMessage)); theSubscriptions = requirement.Determine(theSettings, theGraph); }
public void SetUp() { theGraph = new ChannelGraph { Name = "FooNode" }; var requirement = new GroupSubscriptionRequirement <BusSettings>(x => x.Upstream, x => x.Incoming); requirement.AddType(typeof(FooMessage)); requirement.AddType(typeof(BarMessage)); theSubscriptions = requirement.Determine(theSettings, theGraph); }