public void Touch()
        {
            Assert.That(_endPoint.HasBeenTouched, Is.False);

            _endPoint.Touch();

            Assert.That(_endPoint.HasBeenTouched, Is.True);
        }
        public void TouchedChangedContent()
        {
            _endPoint.CreateSetCommand(DomainObjectIDs.Computer2.GetObject <Computer> ()).Perform();
            _endPoint.Touch();

            var deserializedEndPoint = FlattenedSerializer.SerializeAndDeserialize(_endPoint);

            Assert.That(deserializedEndPoint.Definition, Is.SameAs(_endPoint.Definition));
            Assert.That(deserializedEndPoint.HasBeenTouched, Is.True);
            Assert.That(_endPoint.OppositeObjectID, Is.EqualTo(DomainObjectIDs.Computer2));
            Assert.That(_endPoint.OriginalOppositeObjectID, Is.EqualTo(DomainObjectIDs.Computer1));
        }