public static void StartServices()
        {
            _accessPointService = Run <BusServiceControl>(
                Service.AccessPoint.Program.ConfigureService,
                cfg => cfg.SetServiceName("Test.Service.AccessPoint"));

            _ldapService = Run <BusServiceControl>(
                Service.LDAP.Program.ConfigureService,
                cfg => cfg.SetServiceName("Test.Service.LDAP"));

            _clientService = Run <ClientServiceControl>(
                Client.Program.ConfigureService,
                cfg => cfg.SetServiceName("Test.Service.Client"));

            _notificationService = Run <NotificationServiceControl>(
                ConfigireNotificationService,
                cfg => cfg.SetServiceName("Test.Service.Notification"));

            var builder = new TestBuilder(new WindowsHostEnvironment(new HostConfiguratorImpl()), new WindowsHostSettings());

            _host = (TestHost)builder.Build(
                new TestServiceBuilder(
                    _accessPointService,
                    _ldapService,
                    _notificationService,
                    _clientService));
            _host.Run();
        }
 public ClientService(ClientServiceControl control)
 {
     this._Control = control;
 }