Пример #1
0
        public void Setup()
        {
            distributorServiceTestFacade = new DistributorServiceTestFacade();
            mockListener = new MockMsmqListener(distributorServiceTestFacade, 1000, CommonUtil.MessageQueuePath);

            distributorServiceTestFacade.QueueListener = mockListener;
        }
        public void Setup()
        {
            distributorServiceTestFacade = new DistributorServiceTestFacade();
            mockListener = new MockMsmqListener(distributorServiceTestFacade, 1000, CommonUtil.MessageQueuePath);

            distributorServiceTestFacade.QueueListener = mockListener;
        }
        public void Setup()
        {
            this.distributorServiceTestFacade = new DistributorServiceTestFacade();
            this.eventLogger  = distributorServiceTestFacade.EventLogger;
            this.mockListener = new MockMsmqListener(this.distributorServiceTestFacade, 1000);

            this.distributorServiceTestFacade.QueueListener = mockListener;

            CommonUtil.SetDistributionStrategy("Msmq");
        }
Пример #4
0
        public void Setup()
        {
            this.distributorServiceTestFacade = new DistributorServiceTestFacade();
            this.eventLogger = distributorServiceTestFacade.EventLogger;
            this.mockListener = new MockMsmqListener(this.distributorServiceTestFacade, 1000);

            this.distributorServiceTestFacade.QueueListener = mockListener;

            CommonUtil.SetDistributionStrategy("Msmq");
        }