public void SetUp() { object obj1 = new object(); object obj2 = new object(); Matcher = new SameAsConstraint(obj1); GoodValues = new object[] { obj1 }; BadValues = new object[] { obj2, 3, "Hello" }; Description = "same as <System.Object>"; }
public void SetUp() { theConstraint = new SameAsConstraint(obj1); expectedDescription = "same as <System.Object>"; stringRepresentation = "<sameas System.Object>"; }