public void GetEnterpriseByUuidTest() { BusinessEntity businessEntity = new BusinessEntity(); businessEntity.guid = Const.IssuerId; xmlRequests = new XMLRequestsEnterpriseService(Enum.RequestTypesEnterpriseService.getEnterpriseByUuidRequest); xmlRequests.GetEnterpriseByUuid("8db48fc9-411d-40b1-9153-eccf4fbb711d"); //Guid.Parse(Const.IssuerId) answer = XMLResponces.GetResponce(xmlRequests, url); Assert.AreNotEqual(answer, null, "GetEnterpriseByUuid() answer not null"); Assert.AreNotEqual(answer.GetElementsByTagName("dt:enterprise"), null, "GetEnterpriseByUuid() correctly"); }
public void GetEnterpriseByGuidTest() { BusinessEntity businessEntity = new BusinessEntity(); businessEntity.guid = Const.IssuerId; xmlRequests = new XMLRequestsEnterpriseService(Enum.RequestTypesEnterpriseService.getEnterpriseByGuidRequest); xmlRequests.GetEnterpriseByGuid("10041f9f-a376-4328-8e58-53b6725cb3b2"); //Guid.Parse(Const.IssuerId) //c566587f-39fc-4c58-8d97-ad99173b6d6b answer = XMLResponces.GetResponce(xmlRequests, url); Assert.AreNotEqual(answer, null, "GetEnterpriseByGuid() answer not null"); Assert.AreNotEqual(answer.GetElementsByTagName("dt:enterprise"), null, "GetEnterpriseByGuid() correctly"); }
public void GetBusinessEntityByGuidTest() { BusinessEntity businessEntity = new BusinessEntity(); businessEntity.guid = Const.IssuerId; xmlRequests = new XMLRequestsEnterpriseService(Enum.RequestTypesEnterpriseService.getBusinessEntityByGuidRequest); xmlRequests.GetBusinessEntityByGuid("ba06e77a-4ea0-4652-852c-e63301f8192e"); //Guid.Parse(Const.IssuerId) //c566587f-39fc-4c58-8d97-ad99173b6d6b answer = XMLResponces.GetResponce(xmlRequests, url); Assert.AreNotEqual(answer, null, "GetBusinessEntityByGuid() answer not null"); Assert.AreNotEqual(answer.GetElementsByTagName("dt:businessEntity"), null, "GetBusinessEntityByGuid() correctly"); }
public void GetBusinessEntityByUuidTest() { BusinessEntity businessEntity = new BusinessEntity(); businessEntity.guid = Const.IssuerId; xmlRequests = new XMLRequestsEnterpriseService(Enum.RequestTypesEnterpriseService.getBusinessEntityByUuidRequest); xmlRequests.GetBusinessEntityByUuid("facfd8ec-c52e-4f14-b843-d4da521950f1"); //Guid.Parse(Const.IssuerId) answer = XMLResponces.GetResponce(xmlRequests, url); Assert.AreNotEqual(answer, null, "GetBusinessEntityByUuid() answer not null"); Assert.AreNotEqual(answer.GetElementsByTagName("dt:businessEntity"), null, "GetBusinessEntityByUuid() correctly"); }
public void GetActivityLocationListTest() { BusinessEntity businessEntity = new BusinessEntity(); businessEntity.guid = "c6196e02-4637-862e-86d5-654175a1743f"; //Const.IssuerId; xmlRequests = new XMLRequestsEnterpriseService(Enum.RequestTypesEnterpriseService.getActivityLocationListRequest); xmlRequests.GetActivityLocationList(businessEntity); answer = XMLResponces.GetResponce(xmlRequests, url); Assert.AreNotEqual(answer, null, "GetActivityLocationList() answer not null"); Assert.AreNotEqual(answer.GetElementsByTagName("dt:activityLocationList"), null, "GetActivityLocationList() correctly"); }