Пример #1
0
        public void TestRetryExceptionHandlerRetiesTheMethod()
        {
            IDomainFactory factory = DomainFactoryProvider.GetDomainFactoryInstance(Version, "FooBar", new ExampleDomainConnector(), new RetryDefaultExceptionHandler());

            // Visual Studio unit tests does not work, when a threads are used.
            factory.StopAllConnections();
            factory.CreateDomainService(DomainName);
        }
Пример #2
0
 public override void CleanUp()
 {
     exceptionHandler.Stop = true;
     factory.StopAllConnections();
 }
 public override void CleanUp()
 {
     factory.StopAllConnections();
 }