コード例 #1
0
 public void PrivateConstructorTest()
 {
     string initValue = "secret test string";
     Private target = new Private(initValue);
     Assert.AreEqual(target.Value, initValue, "Object value should be identical after construction");
 }
コード例 #2
0
 public void PrivateConstructorTest1()
 {
     Private target = new Private();
     Assert.IsNull(target.Value,  "Object value should be null after construction");
 }