### Question:
Double implements EncodableData { @Override public long getSize() { return 8L; } private  Double(double value); @Override long getSize(); @Override void write(ByteBuf buf); static Double parse(double value); static Double parse(ByteBuf buf); double getDouble(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void testGetSize() { Assert.assertEquals(TEST_OBJECT.getSize(), 8, "Size of double should be 8"); }