public DefaultNancyModuleBuilderFixture()
 {
     this.module            = new FakeNancyModule();
     this.rootPathProvider  = A.Fake <IRootPathProvider>();
     this.responseFormatter = new DefaultResponseFormatter(this.rootPathProvider);
     this.viewFactory       = A.Fake <IViewFactory>();
     this.builder           = new DefaultNancyModuleBuilder(this.viewFactory, this.responseFormatter);
 }
Esempio n. 2
0
        public DefaultNancyModuleBuilderFixture()
        {
            this.module = new FakeNancyModule();

            this.responseFormatterFactory =
                A.Fake <IResponseFormatterFactory>();

            this.viewFactory        = A.Fake <IViewFactory>();
            this.modelBinderLocator = A.Fake <IModelBinderLocator>();
            this.builder            = new DefaultNancyModuleBuilder(this.viewFactory, this.responseFormatterFactory, this.modelBinderLocator);
        }