public void Initialization_FromNullObjectEndPoint()
        {
            var endPoint = new NullObjectEndPoint(TestableClientTransaction, _id.Definition);
            var command  = (NullEndPointModificationCommand)endPoint.CreateSetCommand(Employee.NewObject());

            Assert.That(command.AffectedEndPoint, Is.SameAs(endPoint));
        }
        public void CreateSetCommand()
        {
            var newRelatedObject = DomainObjectIDs.Order4.GetObject <Order> ();
            var command          = (NullEndPointModificationCommand)_nullEndPoint.CreateSetCommand(newRelatedObject);

            Assert.That(command.AffectedEndPoint, Is.SameAs(_nullEndPoint));
        }