### Question:
StandardErrorUnmarshaller extends AbstractErrorUnmarshaller<Node> { public String parseErrorCode(Node in) throws Exception { return XpathUtils.asString("ErrorResponse/Error/Code", in); } StandardErrorUnmarshaller(); protected  StandardErrorUnmarshaller(Class<? extends AmazonServiceException> exceptionClass); @Override AmazonServiceException unmarshall(Node in); String parseErrorCode(Node in); String getErrorPropertyPath(String property);  }### Answer:
@Test public void testParseErrorCode() throws Exception { Document xmlDoc = new DocumentImpl(); Element root = xmlDoc.createElement("ErrorResponse"); Element error = xmlDoc.createElement("Error"); Element code = xmlDoc.createElement("Code"); code.appendChild(xmlDoc.createTextNode("TestCode")); error.appendChild(code); root.appendChild(error); xmlDoc.appendChild(root); StandardErrorUnmarshaller seu = new StandardErrorUnmarshaller(); assertEquals("TestCode", seu.parseErrorCode(xmlDoc)); }