@Test public void shouldBeAbleToReturnURL() throws Exception { final URL url = getThreadContextClassLoader().getResource(EXISTING_RESOURCE); final Asset asset = new UrlAsset(url); Assert.assertTrue(url.sameFile(((UrlAsset)asset).getSource())); }
@Test public void shouldBeAbleToReturnURL() throws Exception { final URL url = getThreadContextClassLoader().getResource(EXISTING_RESOURCE); final Asset asset = new UrlAsset(url); Assert.assertTrue(url.sameFile(((UrlAsset)asset).getSource())); }