public void Test06()
 {
     TestUtils.DoTest(() =>
     {
         var dirPair = GetDirPair();
         TestDataAssert.DirectoriesAreEqual(dirPair.Expected, dirPair.Actual);
     });
 }
        private void DoTest()
        {
            TestUtils.DoTest(() =>
            {
                var dirPair = GetDirPair();

                try
                {
                    TestDataAssert.DirectoriesAreEqual(dirPair.Expected, dirPair.Actual);
                }
                catch (AssertionException ex)
                {
                    Assert.AreEqual(GetExpectedMessage(dirPair), ex.Message, "AreEqual(ex.Message, Test01ExpectedMessage)");
                    return;
                }

                Assert.Fail("Expected exception wasn't thrown.");
            });
        }