Last updated 2 years ago
var target = "Homer"; target.ShouldStartWith("Bart");
|
Exception
target should start with "Bart" but was "Homer"
var target = "Homer Simpson"; target.ShouldNotStartWith("Homer");
target should not start with "Homer" but was "Homer Simpson"