示例#1
0
        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>";
        }
示例#2
0
        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>";
        }
示例#3
0
 public void SetUp()
 {
     theConstraint        = new SameAsConstraint(obj1);
     expectedDescription  = "same as <System.Object>";
     stringRepresentation = "<sameas System.Object>";
 }
示例#4
0
 public void SetUp()
 {
     theConstraint = new SameAsConstraint(obj1);
     expectedDescription = "same as <System.Object>";
     stringRepresentation = "<sameas System.Object>";
 }