TinyTablesSBool implements SBool { @Override public String toString() { return "TinyTablesSBool[value=" + value + "]"; } private  TinyTablesSBool(TinyTablesElement value); TinyTablesElement getValue(); @Override String toString(); @Override SBool out(); static TinyTablesSBool getInstance(TinyTablesElement value);  }
@Test public void testToString() { TinyTablesElement falseElem = TinyTablesElement.getInstance(false); TinyTablesElement trueElem = TinyTablesElement.getInstance(true); TinyTablesSBool falseSBool = TinyTablesSBool.getInstance(falseElem); TinyTablesSBool trueSBool = TinyTablesSBool.getInstance(trueElem); assertThat(falseSBool.toString(), is("TinyTablesSBool[value=" + falseElem + "]")); assertThat(trueSBool.toString(), is("TinyTablesSBool[value=" + trueElem + "]")); }