NUnit.Framework.Constraints.SameAsConstraint<T> public class SameAsConstraint<T> : Constraint SameAsConstraint tests whether an object is identical to the object passed to its constructor Documentation Code public SameAsConstraint(T expected) Initializes a new instance of the SameAsConstraint<T> class.