public void TestCreateRegisterEventHandlerUnregisterDeleteWorksCorrectlyWithUsernameAndPassword()
        {
            uuid = factory.RegisterConnector(NullString, DomainName);

            IExampleDomainEventsSoapBinding exampleDomain = factory.GetEventhandler <IExampleDomainEventsSoapBinding>(uuid);

            factory.UnRegisterConnector(uuid);
            factory.DeleteDomainService(uuid);
        }
 public void TestCreateRegisterConnectorAndGetEventHandlerWithInvalitConnectorId()
 {
     try
     {
         uuid = factory.RegisterConnector(NullString, DomainName);
         IExampleDomainEventsSoapBinding exampleDomain = factory.GetEventhandler <IExampleDomainEventsSoapBinding>(NullString);
         Assert.Fail();
     }
     catch (ArgumentNullException)
     {
     }
 }