### Question:
IntegerParamEncoder implements IParamEncoder { @Override public int readTo(DecoderAdapter dest, String encoded, MessageParamField field ) { int decodedValue = IntegerEncoded.parseInt(encoded, radix); dest.putInt(field.dbFieldName, decodedValue); return 1; } IntegerParamEncoder( );  IntegerParamEncoder(int radix); @Override boolean writeTo(EncoderAdapter src,  StringBuilder dest, MessageParamField field, char smsFieldName  ); @Override boolean writeTo(EncoderAdapter src,  StringBuilder dest, MessageParamField field, char smsFieldName, boolean isSmsFieldName ); @Override int readTo(DecoderAdapter dest, String encoded, MessageParamField field ); @Override String toString(); final int radix; }### Answer:
@Test public void testAlphabet() { int i = 0; for (char c : IntegerEncoded.ALPHABET) { String str = String.valueOf(c); MapEncoderAdpater dest = new MapEncoderAdpater(); service.readTo(dest, str, MessageParamField.LOC_ALTITUDE ); int decoded = dest.getInt(MessageParamField.LOC_ALTITUDE ); Assert.assertEquals(i++, decoded); } }