public void TargetBaseCtor()
        {
            var val = new Uri ("file:///someuri/somepath");
            var wr = new Cadenza.WeakReference<Uri> (val);
            Assert.AreSame (val, wr.Target);

            val = new Uri ("file:///someuri/somepath");
            Assert.AreNotSame (val, wr.Target);
            wr.Target = val;
            Assert.AreSame (val, wr.Target);
        }
        public void TargetAdvancedCtor()
        {
            var track = true;
            var val = new Uri ("file:///someuri/somepath");
            var wr = new Cadenza.WeakReference<Uri> (val, track);
            Assert.AreSame (val, wr.Target);
            Assert.AreEqual (track, wr.TrackResurrection);

            track = false;
            wr = new Cadenza.WeakReference<Uri> (val, track);
            Assert.AreEqual (track, wr.TrackResurrection);
        }
        public void TargetBaseCtor()
        {
            var val = new Uri("file:///someuri/somepath");
            var wr  = new Cadenza.WeakReference <Uri> (val);

            Assert.AreSame(val, wr.Target);

            val = new Uri("file:///someuri/somepath");
            Assert.AreNotSame(val, wr.Target);
            wr.Target = val;
            Assert.AreSame(val, wr.Target);
        }
        public void TargetAdvancedCtor()
        {
            var track = true;
            var val   = new Uri("file:///someuri/somepath");
            var wr    = new Cadenza.WeakReference <Uri> (val, track);

            Assert.AreSame(val, wr.Target);
            Assert.AreEqual(track, wr.TrackResurrection);

            track = false;
            wr    = new Cadenza.WeakReference <Uri> (val, track);
            Assert.AreEqual(track, wr.TrackResurrection);
        }