CmisCmdlets.Tests.Constraints.CmisBaseConstraint.MatchFolder C# (CSharp) Метод

MatchFolder() защищенный Метод

protected MatchFolder ( IFolder expected, IFolder actual ) : bool
expected IFolder
actual IFolder
Результат bool
        protected bool MatchFolder(IFolder expected, IFolder actual)
        {
            if (actual == null)
            {
                return Problem("An IFolder object", "Something else");
            }
            if (!expected.Path.Equals(actual.Path))
            {
                return Problem("IFolder with Path {0}", expected.Path, actual.Path);
            }
            return true;
        }