### Question:
PaddingFrame extends Frame { @Override public int calculateLength() { return length; } PaddingFrame(final int length); static PaddingFrame parse(final ByteBuf bb); @Override int calculateLength(); @Override void write(final ByteBuf bb); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void calculateLength() { assertEquals(10, new PaddingFrame(10).calculateLength()); }