@Test
void testGetResourceAsStream() {

    DefaultResourceManager manager = new DefaultResourceManager();
    manager.addResource(new DirectoryResource(new File("")));
    assertNull(manager.getResourceAsStream("/doesnotexist"));
}