Exemple #1
0
        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.");
        }
Exemple #2
0
 public void TestRefreshConfiguration()
 {
     MessageParserManager.GetParser("XmlMessageParser");
     MessageParserManager.RefreshConfiguration("XmlMessageParser");
 }
Exemple #3
0
 public void TestRefreshConfigurationFail2()
 {
     MessageParserManager.RefreshConfiguration("  ");
 }
Exemple #4
0
 public void TestRefreshConfigurationFail1()
 {
     MessageParserManager.RefreshConfiguration(null);
 }