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