DoubleCodec implements BlockCodec<Double> { @Override public Double zeroValue() { return 0.0d; }  @Override Double zeroValue(); @Override Double decode(byte[] data, int bitLength); @Override byte[] encode(Double data, int bitLength); @Override void reset(); @Override String getValueType();  }
@Test public void testZero() { DoubleCodec codec = new DoubleCodec(); Assert.assertEquals(0.0d, codec.zeroValue(), 0); }