コード例 #1
0
        public void Constructor()
        {
            var target = new Target<string>("asdf", "fdsa");
            var proxy = new TargetDebuggerProxy(target);

            Assert.AreEqual("asdf", proxy.Name);
            Assert.AreEqual("fdsa", proxy.Value);
            Assert.ReferenceEquals(target.Name, proxy.Name);
            Assert.ReferenceEquals(target.Value, target.Value);
        }
コード例 #2
0
 public void Constructor_NullTarget()
 {
     var temp = new TargetDebuggerProxy(null);
 }