AddToNodes() private method

private AddToNodes ( Node node ) : void
node Node
return void
        public void RevertEntityStateWithAddedStateSucceeds()
        {
            // Arrange
            var svc  = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);
            var node = new Node();

            svc.AddToNodes(node);

            // Act
            svc.RevertEntityState(node);

            // Assert
            Assert.IsFalse(svc.HasPendingChanges());
        }
        public void HasPendingChangesWithChangesReturnsTrue()
        {
            // Arrange
            var svc  = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);
            var node = new Node();

            svc.AddToNodes(node);

            // Act
            var result = svc.HasPendingChanges();

            // Assert
            Assert.IsTrue(result);
        }
        public void RevertEntityStateWithAddedStateSucceeds()
        {
            // Arrange
            var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);
            var node = new Node();
            svc.AddToNodes(node);

            // Act
            svc.RevertEntityState(node);

            // Assert
            Assert.IsFalse(svc.HasPendingChanges());
        }
        public void HasPendingChangesWithChangesReturnsTrue()
        {
            // Arrange
            var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri);
            var node = new Node();
            svc.AddToNodes(node);

            // Act
            var result = svc.HasPendingChanges();

            // Assert
            Assert.IsTrue(result);
        }