Esempio n. 1
0
        public void TestInitialize()
        {
            TestCleanup();

            _messageData = new MessageData("TestRunner", "testChannel", "!topic newTopic", new String[] { "!topic", "newTopic" });

            _messagingClientMock = new Mock <IMessagingClient>();

            _configurationMock = new Mock <IConfiguration>();
            _configurationMock.Setup(mock => mock.LoadClientConfiguration()).Returns(_clientConfiguration);

            _loggingMock = new Mock <ILogging>();

            _tryToGetOp = new TryToGetOp(new TimeSpan(1000), _messagingClientMock.Object, _configurationMock.Object, _loggingMock.Object);
        }
Esempio n. 2
0
 public void TestCleanup()
 {
     _messagingClientMock = null;
     _configurationMock   = null;
     _tryToGetOp          = null;
 }