Example #1
0
 public void ValueShouldBeSetCorrectly()
 {
     var id = new TestId1(Test);
     Assert.AreEqual(Test, id.Value);
     Assert.AreEqual(Test, id.ToString());
     id.Value = Test2;
     Assert.AreEqual(Test2, id.Value);
 }
Example #2
0
        public void ValueShouldBeSetCorrectly()
        {
            var id = new TestId1(Test);

            Assert.AreEqual(Test, id.Value);
            Assert.AreEqual(Test, id.ToString());
            id.Value = Test2;
            Assert.AreEqual(Test2, id.Value);
        }