@Test public void testToString() throws MalformedURLException { final URL url = new URL("http: final UrlSchemaSupplier iut = new UrlSchemaSupplier(url); assertTrue("should contain filename", iut.toString().contains(url.toString())); }
@Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), url); }
UrlSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), url); } }
UrlSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), url); } UrlSchemaSupplier(final URL pUrl); }
UrlSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), url); } UrlSchemaSupplier(final URL pUrl); URL getUrl(); @Override Source makeSource(); @Override String toString(); @Override final boolean equals(final Object obj); @Override final int hashCode(); }
UrlSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), url); } UrlSchemaSupplier(final URL pUrl); URL getUrl(); @Override Source makeSource(); @Override String toString(); @Override final boolean equals(final Object obj); @Override final int hashCode();  }