Send parameter to Nancy module from test
问题 I'm trying to test a module with parameter (below is only code where I'm trying to figure the problem out) public class StuffModule : NancyModule { public StuffModule() : base("/Stuff") { Get["/All/"] = parameters => { string str = parameters.one; return Response.AsJson(str); }; } } private Browser _browser; [SetUp] public void SetUp() { var module = new StuffModule(null); var mock = new Mock<IRecipeExtractor>(); var bootstrapper = new ConfigurableBootstrapper( with => with.Dependency(mock