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