@Test public void testToString() { final String filename = "abcd.txt"; final FileSchemaSupplier iut = new FileSchemaSupplier(new File(filename)); assertTrue("should contain filename", iut.toString().contains(filename)); }
@Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), file); }
FileSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), file); } }
FileSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), file); } FileSchemaSupplier(final File pFile); }
FileSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), file); } FileSchemaSupplier(final File pFile); File getFile(); @Override Source makeSource(); @Override String toString(); @Override final boolean equals(final Object obj); @Override final int hashCode(); }
FileSchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%s}", getClass().getSimpleName(), file); } FileSchemaSupplier(final File pFile); File getFile(); @Override Source makeSource(); @Override String toString(); @Override final boolean equals(final Object obj); @Override final int hashCode();  }