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); }
public void TestCleanup() { _messagingClientMock = null; _configurationMock = null; _tryToGetOp = null; }