コード例 #1
0
        public HoganServices_Tests()
        {
            container = new TinyIoCContainer();
            container.Register(Mock.Of <IUrlGenerator>());

            services = new HoganServices();
        }
コード例 #2
0
        public HoganServices_Tests()
        {
            container = new TinyIoCContainer();
            container.Register(Mock.Of <IUrlGenerator>());
            container.Register <IHtmlTemplateIdStrategy>(new HtmlTemplateIdBuilder());

            services = new HoganServices();
        }