public void Integration_FindMetaEA_WithVersion() { ServiceLocation serviceLocation = new ServiceLocation { Name = "BSCurusadministatie", Profile = "Production" }; IServiceLocatorService proxy = _factory.CreateChannel(); string uri = proxy.FindMetadataEndpointAddress(serviceLocation); Assert.AreEqual("http://infosupport.intranet/CAS/mex", uri); }
public void Integration_FindMetaEA_WithoutVersion_Integration() { ServiceLocation serviceLocation = new ServiceLocation { Name = "PcSPlanningmaken", Profile = "Acceptation", Version = 1.0M }; IServiceLocatorService proxy = _factory.CreateChannel(); string uri = proxy.FindMetadataEndpointAddress(serviceLocation); Assert.AreEqual("http://infosupport.test/CAS/metadata", uri); }