@Test public void testToString() { final char[] array = new char[] { '1', '2', '3', '4', '5' }; final InMemorySchemaSupplier iut = new InMemorySchemaSupplier(array); assertTrue("string should contain number of chars", iut.toString().contains(String.valueOf(array.length))); }
@Override public String toString() { return String.format("%s{%d chars}", getClass().getSimpleName(), chars.length); }
InMemorySchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%d chars}", getClass().getSimpleName(), chars.length); } }
InMemorySchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%d chars}", getClass().getSimpleName(), chars.length); } InMemorySchemaSupplier(final char[] pChars); }
InMemorySchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%d chars}", getClass().getSimpleName(), chars.length); } InMemorySchemaSupplier(final char[] pChars); @Override Source makeSource(); @Override String toString(); @Override final boolean equals(Object obj); @Override final int hashCode(); }
InMemorySchemaSupplier implements SchemaSupplier { @Override public String toString() { return String.format("%s{%d chars}", getClass().getSimpleName(), chars.length); } InMemorySchemaSupplier(final char[] pChars); @Override Source makeSource(); @Override String toString(); @Override final boolean equals(Object obj); @Override final int hashCode();  }