BooleanCodec implements BlockCodec<Boolean> { @Override public Boolean zeroValue() { return false; } BooleanCodec(); String getTrueValue(); void setTrueValue(String value); String getFalseValue(); void setFalseValue(String value); @Override Boolean zeroValue(); @Override Boolean decode(byte[] data, int bitLength); @Override byte[] encode(Boolean data, int bitLength); @Override void reset(); @Override String getValueType();  }
@Test public void testZero() { BooleanCodec codec = new BooleanCodec(); Assert.assertFalse(codec.zeroValue()); }