DummyBooleanSBool implements SBool { @Override public SBool out() { return this; } DummyBooleanSBool(boolean value); Boolean getValue(); @Override String toString(); @Override SBool out(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testOut() { DummyBooleanSBool value = new DummyBooleanSBool(true); Assert.assertThat(value.out(), Is.is(value)); }