### Question:
VerificationResponseImpl implements VerificationResponse { public String toString() { return otp + ":" + status; } VerificationResponseImpl(InputStream inStream); Map<String, String> getKeyValueMap(); String toString(); boolean isOk(); String getH(); String getT(); ResponseStatus getStatus(); String getTimestamp(); String getSessioncounter(); String getSessionuse(); String getSl(); String getOtp(); String getNonce(); String getPublicId();  }### Answer:
@Test public void testToString() throws YubicoInvalidResponse { String testData= "h=lPuwrWh8/5ZuRBN1q+v7/pCOfYo=\n" + "t=2011-01-26T11:48:21Z0323\n" + "otp=cccccccfhcbeceeiinhjfjhfjutfvrjetfkjlhbduvdd\n" + "nonce=askjdnkagfdgdgdgggggggddddddddd\n" + "timestamp=4711\n" + "sessioncounter=42\n" + "sessionuse=666\n" + "sl=foo\n" + "status=REPLAYED_OTP\n"; try { VerificationResponse response = new VerificationResponseImpl(new ByteArrayInputStream(testData.getBytes("UTF-8"))); assertTrue(response.toString().contains("REPLAYED_OTP")); assertTrue(response.toString().contains("cccccccfhcbeceeiinhjfjhfjutfvrjetfkjlhbduvdd")); } catch (IOException ioe) { fail("Encountered an exception"); } }