public void TestRefreshConfiguration() { IMessageParser parser1 = MessageParserManager.GetParser("XmlMessageParser"); MessageParserManager.RefreshConfiguration("XmlMessageParser"); IMessageParser parser2 = MessageParserManager.GetParser("XmlMessageParser"); Assert.IsFalse(object.ReferenceEquals(parser1, parser2), "Incorrect RefreshConfiguration implementation."); }
public void TestRefreshConfiguration() { MessageParserManager.GetParser("XmlMessageParser"); MessageParserManager.RefreshConfiguration("XmlMessageParser"); }
public void TestRefreshConfigurationFail2() { MessageParserManager.RefreshConfiguration(" "); }
public void TestRefreshConfigurationFail1() { MessageParserManager.RefreshConfiguration(null); }