public void CreateServiceHost_uses_configuration([Frozen] IServiceHostConfiguration <TestService> configuration, WcfServiceHostedServiceConfiguration <TestService> sut)
        {
            var host = sut.CreateServiceHost();

            Mock.Get(configuration).Verify(p => p.ConfigureServiceHost(It.IsAny <ServiceHost>()));
        }
        public void CreateServiceHost_uses_builder([Frozen] IServiceHostBuilder builder, WcfServiceHostedServiceConfiguration <TestService> sut)
        {
            var host = sut.CreateServiceHost();

            Mock.Get(builder).Verify(p => p.Build(typeof(TestService)));
        }