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