<PackageReference Include="NUnit" Version="4.3.2" />

EqualStringWithoutUsingConstraint

EqualConstraint is able to compare an actual value with the expected value provided in its constructor. Two objects are considered equal if both are null, or if both have the same value. NUnit has special semantics for some object types.
public string Expected { get; }

Gets the expected value.

Flag the constraint to ignore case and return self.

Flag the constraint to ignore white space and return self.

Flag the constraint to suppress string clipping and return self.

public EqualStringWithoutUsingConstraint(string expected)

Initializes a new instance of the EqualConstraint class.

public ConstraintResult ApplyTo(string actual)

Test whether the constraint is satisfied by a given value