<PackageReference Include="NUnit" Version="4.2.2" />

NUnit.Framework.Constraints.PathConstraint

public abstract class PathConstraint : StringConstraint
PathConstraint serves as the abstract base of constraints that operate on paths and provides several helper methods.
namespace NUnit.Framework.Constraints { public abstract class PathConstraint : StringConstraint { public PathConstraint RespectCase { get; } protected PathConstraint(string expected); protected string Canonicalize(string path); protected bool IsSubPath(string path1, string path2); } }