@Test public void testCreateInMemoryClass() { try { URL createInMemoryClass = underTest.createInMemoryClass(getClass()); assertThat(createInMemoryClass).isNotNull(); assertThat(createInMemoryClass.toString()).isEqualTo("inmemory: } catch (MalformedURLException e) { fail("No exception should occu"); } }
public URL createInMemoryClass(Class<?> claSs) throws MalformedURLException { return url( claSs.getName().replace('.', '/') + ".class"); }
InMemoryFactory { public URL createInMemoryClass(Class<?> claSs) throws MalformedURLException { return url( claSs.getName().replace('.', '/') + ".class"); } }
InMemoryFactory { public URL createInMemoryClass(Class<?> claSs) throws MalformedURLException { return url( claSs.getName().replace('.', '/') + ".class"); } InMemoryFactory(); }
InMemoryFactory { public URL createInMemoryClass(Class<?> claSs) throws MalformedURLException { return url( claSs.getName().replace('.', '/') + ".class"); } InMemoryFactory(); URL createInMemoryClass(Class<?> claSs); URL createInMemoryResource(String resource); }
InMemoryFactory { public URL createInMemoryClass(Class<?> claSs) throws MalformedURLException { return url( claSs.getName().replace('.', '/') + ".class"); } InMemoryFactory(); URL createInMemoryClass(Class<?> claSs); URL createInMemoryResource(String resource);  }