@Test() public void testCreateInMemoryResourceError() { try { String resource = "data\\stuf\\content.properties"; URL createInMemoryResource = underTest.createInMemoryResource(resource); createInMemoryResource.toExternalForm(); } catch (MalformedURLException e) { fail("No exception should occu"); } }
public URL createInMemoryResource(String resource) throws MalformedURLException { String content = resource.replace('\\', '/'); return url(content); }
InMemoryFactory { public URL createInMemoryResource(String resource) throws MalformedURLException { String content = resource.replace('\\', '/'); return url(content); } }
InMemoryFactory { public URL createInMemoryResource(String resource) throws MalformedURLException { String content = resource.replace('\\', '/'); return url(content); } InMemoryFactory(); }
InMemoryFactory { public URL createInMemoryResource(String resource) throws MalformedURLException { String content = resource.replace('\\', '/'); return url(content); } InMemoryFactory(); URL createInMemoryClass(Class<?> claSs); URL createInMemoryResource(String resource); }
InMemoryFactory { public URL createInMemoryResource(String resource) throws MalformedURLException { String content = resource.replace('\\', '/'); return url(content); } InMemoryFactory(); URL createInMemoryClass(Class<?> claSs); URL createInMemoryResource(String resource);  }