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