public void GetOrLoadRelatedObject()
        {
            var endPointID = RelationEndPointObjectMother.CreateRelationEndPointID(DomainObjectIDs.Order4, "OrderTicket");

            _persistenceStrategyMock
            .Expect(mock => mock.ResolveObjectRelationData(endPointID, _loadedObjectDataProviderStub))
            .Return(_loadedObjectDataStub1);
            _loadedObjectDataRegistrationAgentMock
            .Expect(mock => mock.RegisterIfRequired(new[] { _loadedObjectDataStub1 }, true));
            _mockRepository.ReplayAll();

            var result = _objectLoader.GetOrLoadRelatedObject(endPointID);

            _mockRepository.VerifyAll();
            Assert.That(result, Is.SameAs(_loadedObjectDataStub1));
        }