public void GetOppositeEndPointDefinition_Strings()
        {
            var result1 = _customerToOrder.GetOppositeEndPointDefinition(
                "Order", "Remotion.Data.DomainObjects.UnitTests.Mapping.TestDomain.Integration.Order.Customer");

            Assert.That(result1, Is.SameAs(_customerEndPoint));

            var result2 = _customerToOrder.GetOppositeEndPointDefinition(
                "Customer", "Remotion.Data.DomainObjects.UnitTests.Mapping.TestDomain.Integration.Customer.Orders");

            Assert.That(result2, Is.SameAs(_orderEndPoint));
        }
 public void GetOppositeEndPointDefinition()
 {
     Assert.That(_relation.GetOppositeEndPointDefinition("Location", "Remotion.Data.DomainObjects.UnitTests.Mapping.TestDomain.Integration.Location.Client"), Is.SameAs(_clientEndPoint));
     Assert.That(_relation.GetOppositeEndPointDefinition("Client", null), Is.SameAs(_locationEndPoint));
 }