示例#1
0
        public void Creates_RocketHost_ForAssemblies()
        {
            var host = new WebJobsBuilder().UseRocketBooster(new Startup(), RocketBooster.For(new[] { typeof(RocketHostTests).Assembly }),
                                                             rb => { });

            host.Should().BeAssignableTo <IWebJobsBuilder>();
        }
示例#2
0
        public void Creates_RocketHost_ForAppDomain()
        {
            var host = new WebJobsBuilder().UseRocketBooster(
                new Startup(),
                RocketBooster.For(AppDomain.CurrentDomain),
                rb => { }
                );

            host.Should().BeAssignableTo <IWebJobsBuilder>();
        }