public IActionBehavior BuildBehavior(TypeArguments arguments, Guid behaviorId) { Arguments = arguments.ShouldBeOfType <FubuMVC.Core.ServiceBus.Runtime.Invocation.InvocationContext>(); _cascadingMessages.Each(x => Arguments.EnqueueCascading(x)); _chain.UniqueId.ShouldBe(behaviorId); return(_behavior); }