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