### Question:
DecodeResult implements Serializable { @Override public String toString() { return asString(this.decoded); } DecodeResult(int pos, Object decoded); int getPos(); Object getDecoded(); @Override String toString();  }### Answer:
@Test(expected = RuntimeException.class) public void testAsString_wRuntimeException() { DecodeResult res = new DecodeResult(0, null); res.toString(); }