protected bool MatchDocument(IDocument expected, IDocument actual)
{
if (actual == null)
{
return Problem("An IDocument object", "Something else");
}
if (!expected.Paths.SequenceEqual(actual.Paths))
{
return Problem("IDocument with Paths {0}", expected.Paths, actual.Paths);
}
return true;
}
}