SubPathConstraint public class SubPathConstraint : PathConstraint SubPathConstraint tests that the actual path is under the expected path Documentation Code public SubPathConstraint(string expected) Initializes a new instance of the SubPathConstraint class.