public DefaultViewLocationConventionsFixture()
        {
            var typeCatalog = A.Fake <ITypeCatalog>();

            A.CallTo(() => typeCatalog.GetTypesAssignableTo(A <Type> ._, A <TypeResolveStrategy> ._)).Returns(ArrayCache.Empty <Type>());

            this.conventions             = new NancyConventions(typeCatalog);
            this.viewLocationConventions = new DefaultViewLocationConventions();
        }
Beispiel #2
0
 public DefaultViewLocationConventionsFixture()
 {
     this.conventions             = new NancyConventions();
     this.viewLocationConventions = new DefaultViewLocationConventions();
 }