@Test
public void testResourcePath_FilePathBase() throws IOException {

    DefaultTemplateResolver resolver = resolver("/tmp");
    File canonical = new File("/tmp/io/bootique/mvc/resolver/tName.txt").getCanonicalFile();
    assertEquals(canonical.toURI().toURL(),
            resolver.resourceUrl("tName.txt", DefaultTemplateResolverTest.class));
    assertEquals(canonical.toURI().toURL(),
            resolver.resourceUrl("/tName.txt", DefaultTemplateResolverTest.class));
}