### Question:
Base32Codec implements IByteArrayCodec { @Override public int getMaximumDecodedLength (final int nLen) { return MathHelper.getRoundedUp (nLen, 8) * 5 / 8; } Base32Codec();  Base32Codec(final boolean bUseHex); boolean isHexEncoding(); byte getPad(); @Nonnull Base32Codec setPad(final byte nPad); boolean isAddPadding(); @Nonnull Base32Codec setAddPaddding(final boolean bAddPadding); @Override int getMaximumEncodedLength(final int nLen); void encode(@Nullable final byte [] aDecodedBuffer,
                      @Nonnegative final int nOfs,
                      @Nonnegative final int nLen,
                      @Nonnull @WillNotClose final OutputStream aOS); @Override int getMaximumDecodedLength(final int nLen); void decode(@Nullable final byte [] aEncodedBuffer,
                      @Nonnegative final int nOfs,
                      @Nonnegative final int nLen,
                      @Nonnull @WillNotClose final OutputStream aOS);  }### Answer:
@Test public void testGetDecodedLength () { final Base32Codec aBase32 = new Base32Codec (); assertEquals (0, aBase32.getMaximumDecodedLength (0)); for (int i = 1; i <= 8; ++i) assertEquals (5, aBase32.getMaximumDecodedLength (i)); for (int i = 9; i <= 16; ++i) assertEquals (10, aBase32.getMaximumDecodedLength (i)); for (int i = 17; i <= 24; ++i) assertEquals (15, aBase32.getMaximumDecodedLength (i)); }