StartsWithConstraint public class StartsWithConstraint : StringConstraint StartsWithConstraint can test whether a string starts with an expected substring. Documentation Code namespace NUnit.Framework { }