public void ResolveNullHref() { FileInclusionResolver resolver = new FileInclusionResolver(); Assert.Throws<ArgumentNullException>(() => resolver.Resolve(null)); }
public void ResolveUri() { FileInclusionResolver resolver = new FileInclusionResolver(); Assert.DoesNotThrow(() => resolver.Resolve("http://www.w3schools.com/xml/note.xml")); }
public void ResolveExistingFile() { FileInclusionResolver resolver = new FileInclusionResolver(); Assert.DoesNotThrow(() => resolver.Resolve(@"..\..\Resources\basics_sch.xml")); }