PathConstraint
PathConstraint serves as the abstract base of constraints
that operate on paths and provides several helper methods.
The actual path being tested
Flag indicating whether a caseInsensitive comparison should be made
The expected path used in the constraint
Modifies the current instance to be case-insensitve
and returns it.
Modifies the current instance to be case-sensitve
and returns it.
Construct a PathConstraint for a give expected path
Canonicalize the provided path
Test whether two paths are the same
Test whether one path is under another path
Returns true if the expected path and actual path match
Test whether one path is the same as or under another path