### Question:
EmptyBitmap extends RangeBitmap { @Override public byte[] toBytes() { return new byte[]{getType().getHead()}; } EmptyBitmap(); @Override ImmutableBitMap getAnd(ImmutableBitMap index); @Override ImmutableBitMap getOr(ImmutableBitMap index); @Override ImmutableBitMap getAndNot(ImmutableBitMap index); @Override ImmutableBitMap getNot(int bound); @Override byte[] toBytes(); @Override BitMapType getType(); @Override String toString();  }### Answer:
@Test public void toBytes() { assertArrayEquals(new byte[]{BitMapType.EMPTY.getHead()}, new EmptyBitmap().toBytes()); }