예제 #1
0
 public void HobbiesConstructorTest()
 {
     string initValue = "secret test string";
     Hobbies target = new Hobbies(initValue);
     Assert.AreEqual(target.Value, initValue, "Object value should be identical after construction");
 }
예제 #2
0
 public void HobbiesConstructorTest1()
 {
     Hobbies target = new Hobbies();
     Assert.IsNull(target.Value,  "Object value should be null after construction");
 }