public void BeforeEach() { var type = typeof (Fodder); var exports = new List<Export> { new Export(type, type.GetMethod("Bantha"), "fodder", "bantha") }; var routingInfo = new RoutingInfo(exports, "fodder"); _router = new CommandRouter(routingInfo); }
public CommandRouter(RoutingInfo routingInfo) { _routingInfo = routingInfo; }