/// <summary>
 /// Verifies that the children stored in an extension match what is expected. Asserts will be raised for any
 /// differences.
 /// </summary>
 /// <param name="indent">Indent level to use when writing log information.</param>
 /// <param name="expected">The children that are expected to be present.</param>
 /// <param name="actual">The extension that contains the actual children.</param>
 private void VerifyExtensionChildren(string indent, List<XliffData> expected, IExtension actual)
 {
     if (expected == null)
     {
         Assert.IsFalse(actual.HasChildren, "HasChildren is incorrect.");
     }
     else
     {
         Assert.IsTrue(actual.HasChildren, "HasChildren is incorrect.");
         this.VerifyChildren(indent, expected, actual.GetChildren());
     }
 }