Example #1
0
        public void DetachBeforeUnsetsPreviousOfSource()
        {
            TestNodeA.AttachBefore(TestNodeB);
            TestObject.AttachBefore(TestNodeB);

            TestObject.DetachBefore();

            Assert.IsNull(TestObject.Previous);
        }