TinyTablesElement implements Serializable { @Override public String toString() { return "TinyTablesElement[share=" + this.share + "]"; } private  TinyTablesElement(boolean share); boolean getShare(); static boolean open(List<TinyTablesElement> allShares); TinyTablesElement add(TinyTablesElement b); TinyTablesElement multiply(boolean s); TinyTablesElement not(int playerId); TinyTablesElement flip(); Pair<TinyTablesElement, TinyTablesElement> multiply(TinyTablesElement other,
      TinyTablesTriple triple); static TinyTablesElement finalizeMultiplication(boolean e, boolean d,
      TinyTablesTriple triple, int playerId); static TinyTablesElement getInstance(boolean share); @Override String toString();  }
@Test public void testToString() { TinyTablesElement e1 = TinyTablesElement.getInstance(false); TinyTablesElement e2 = TinyTablesElement.getInstance(true); assertThat(e1.toString(), is("TinyTablesElement[share=false]")); assertThat(e2.toString(), is("TinyTablesElement[share=true]")); }