Пример #1
0
        public void ResourceModelWebserverUtil_GetWorkflowUri_GivenInvalidResourceModel_DoesNotThrow()
        {
            const string             xmlData       = "";
            IContextualResourceModel resourceModel = null;

            var result = resourceModel.GetWorkflowUri(xmlData, UrlType.API);

            Assert.IsNull(result);
        }
Пример #2
0
 public static Uri GetWorkflowUri(this IContextualResourceModel resourceModel, string xmlData, UrlType urlType) => resourceModel.GetWorkflowUri(xmlData, urlType, true);