public void ResourceModelWebserverUtil_GetWorkflowUri_GivenInvalidResourceModel_DoesNotThrow() { const string xmlData = ""; IContextualResourceModel resourceModel = null; var result = resourceModel.GetWorkflowUri(xmlData, UrlType.API); Assert.IsNull(result); }
public static Uri GetWorkflowUri(this IContextualResourceModel resourceModel, string xmlData, UrlType urlType) => resourceModel.GetWorkflowUri(xmlData, urlType, true);