### Question:
GetTempPasswordForOther extends AbstractIRODSPackingInstruction { @Override public Tag getTagValue() throws JargonException { final Tag message = new Tag(PI_TAG, new Tag[] { new Tag("targetUser", targetUserName.trim()), new Tag("unused") }); return message; } private  GetTempPasswordForOther(final String targetUserName); static GetTempPasswordForOther instance(final String targetUserName); @Override Tag getTagValue(); String getTargetUserName(); static final int GET_TEMP_PASSWORD_FOR_OTHER_API_NBR; static final String PI_TAG; }### Answer:
@Test public final void testGetTagValue() throws Exception { String testUser = "testUser"; GetTempPasswordForOther instance = GetTempPasswordForOther.instance(testUser); StringBuilder sb = new StringBuilder(); sb.append("<getTempPasswordForOtherInp_PI><targetUser>testUser</targetUser>\n"); sb.append("<unused>null</unused>\n"); sb.append("</getTempPasswordForOtherInp_PI>\n"); String tagValue = instance.getParsedTags(); Assert.assertNotNull("no tag value returned", tagValue); Assert.assertEquals("did not get expected tags", sb.toString(), tagValue); }