public ServerMessagesReceiverTests()
 {
     LogManager.OutputToTrace();
     _sut=new FakeServerMessageReceiver();
     _sut.Add();
     _sut.PollingInterval = 50.ToMiliseconds();
     _router = Substitute.For<IDispatchReceivedMessages>();
 }
示例#2
0
        public ServerMessagesReceiverTests(ITestOutputHelper test)
        {
            _test = test;

            _sut = new FakeServerMessageReceiver();
            _sut.Add();
            _router = Substitute.For <IDispatchReceivedMessages>();
        }