@Test
void testGetResource() throws Exception {

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