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(); }
public DefaultViewLocationConventionsFixture() { this.conventions = new NancyConventions(); this.viewLocationConventions = new DefaultViewLocationConventions(); }