public virtual void AttemptToRetrieveBytesFromResourceStyleSheetWithFilterRetrieverTest() { String fileName = "retrieveStyleSheetTest.css"; ResourceResolver resourceResolver = new ResourceResolver(baseUri); resourceResolver.SetRetriever(new FilterResourceRetriever()); byte[] bytes = resourceResolver.RetrieveBytesFromResource(fileName); Assert.Null(bytes); }
public virtual void AttemptToRetrieveInputStreamWithFilterRetrieverTest() { String fileName = "retrieveStyleSheetTest.css"; ResourceResolver resourceResolver = new ResourceResolver(baseUri); resourceResolver.SetRetriever(new FilterResourceRetriever()); Stream stream = resourceResolver.RetrieveResourceAsInputStream(fileName); Assert.Null(stream); }