public void HostService_doesnt_require_any_delegate(HostConfigurator configurator)
        {
            configurator.HostService();

            Mock.Get(configurator).Verify(p => p.UseServiceBuilder(It.IsAny <ServiceBuilderFactory>()));
        }
        public void HostService_configure_service(HostConfigurator configurator, ConfigurationBuilderDelegate configurationBuilder, ServiceConfiguratorDelegate serviceBuilder, LoggingConfiguratorDelegate loggingBuilder)
        {
            configurator.HostService(configurationBuilder, serviceBuilder, loggingBuilder);

            Mock.Get(configurator).Verify(p => p.UseServiceBuilder(It.IsAny <ServiceBuilderFactory>()));
        }