protected override void Given() { var registrations = new List <MessageModule> { new PrototypeModule() }; _host = HandlerTypeResolver.Init(registrations); _message = JsonTypedMessage.FromMessage(new PrototypeMessage()); }
public static ITypedFluentInit UsingTypeResolver(this IFluentInit fluentInit) { fluentInit.HandlerTypeResolver = HandlerTypeResolver.Init(); return(fluentInit as ITypedFluentInit); }