public void SetUp()
        {
            ConfigManager.GetInstance().LoadFile("../../test_files/logger.xml");

            mbrLogger = new MBRLogger(LogManager.CreateLogger("MyLoggerNamespace"));
            xpr       = new XPathResolver();
        }
 public void TestConstructorFail1()
 {
     xpr = new XPathResolver(null);
 }
 public void TestConstructor1()
 {
     xpr = new XPathResolver(mbrLogger);
     Assert.IsTrue(UnitTestHelper.GetPrivateField(xpr, "logger") == mbrLogger,
                   "references must be same.");
 }
 public void TearDown()
 {
     xpr       = null;
     mbrLogger = null;
     ConfigManager.GetInstance().Clear(false);
 }