TinyTablesPreproSBool implements SBool { @Override public String toString() { return "TinyTablesPreproSBool[value=" + value + "]"; } TinyTablesPreproSBool(TinyTablesElement value); TinyTablesElement getValue(); @Override String toString(); @Override SBool out();  }
@Test public void testToString() { TinyTablesElement e = TinyTablesElement.getInstance(true); TinyTablesPreproSBool sb = new TinyTablesPreproSBool(e); assertThat(sb.toString(), is(String.format("TinyTablesPreproSBool[value=%s]", e))); }