public void FileServiceLocatorTest_ServiceLocationVersionBestaatNiet() { //Arrange var fileServiceLocator = new FileServiceLocator("../../locationData.xml"); //Act var adress = fileServiceLocator.FindMetadataEndpointAddress("PcSPlanningmaken", "Acceptation", 1.4m); //Assert Assert.AreEqual("http://infosupport.test/CAS/metadata", adress); }
public void FileServiceLocatorTest_PathfileIsEmptyString_En_Verwacht_FilePathNotDefinedException() { //Arrange var fileServiceLocator = new FileServiceLocator(""); //Act var adress = fileServiceLocator.FindMetadataEndpointAddress("BSCurusadministatie", "Production"); //Assert Assert.AreEqual("http://infosupport.intranet/CAS/mex", adress); }
public void FileServiceLocatorTest_RecordGevondenMetEenVersion() { //Arrange var fileServiceLocator = new FileServiceLocator("../../locationData.xml"); //Act var adress = fileServiceLocator.FindMetadataEndpointAddress("PcSPlanningmaken", "Acceptation"); //Assert Assert.AreEqual("http://infosupport.intranet/CAS/mex", adress); }
public void FileServiceLocatorTest_GetMexAdressMetNaamEnProfiel() { //Arrange var fileServiceLocator = new FileServiceLocator("../../locationData.xml"); //Act var adress = fileServiceLocator.FindMetadataEndpointAddress("BSCurusadministatie", "Production"); //Assert Assert.AreEqual("http://infosupport.intranet/CAS/mex", adress); }
public void FileServiceLocator_Bestaat() { //Arrange var serviceLocator = new FileServiceLocator("../../locationData.xml"); //Assert Assert.IsInstanceOfType(serviceLocator, typeof(FileServiceLocator)); }