### Question:
LongString implements EncodableData { @Override public long getSize() { return 4 + length; } @SuppressFBWarnings("EI_EXPOSE_REP2")  LongString(long length, byte[] content); static LongString parseString(String data); @Override long getSize(); @Override void write(ByteBuf buf); static LongString parse(ByteBuf buf); static LongString parse(byte[] data); @Override boolean equals(Object obj); boolean isEmpty(); @Override int hashCode(); @Override String toString(); @SuppressFBWarnings("EI_EXPOSE_REP") byte[] getBytes();  }### Answer:
@Test public void testGetSize() throws Exception { Assert.assertEquals(DEFAULT_TEST_OBJECT.getSize(), DEFAULT_DATA_STRING.length() + 4, "getSize should return " + "required byte array size"); }