BooleanHolder extends AbstractValueHolder { @Override public Boolean getBoolean() { return value; } BooleanHolder(Boolean value); @Override Boolean getValue(); @Override boolean booleanValue(); @Override Boolean getBoolean();  }
@Test public void testGetBoolean() { assertEquals(Boolean.FALSE, h1.getBoolean()); assertEquals(Boolean.TRUE, h2.getBoolean()); assertEquals(null, h3.getBoolean()); }