### Question:
ExecCmdStreamClose extends AbstractIRODSPackingInstruction { @Override public Tag getTagValue() throws JargonException { Tag message = new Tag(PI_TAG, new Tag[] { new Tag(FILE_INX, fileDescriptor) }); return message; } private  ExecCmdStreamClose(final int apiNumber, final int fileDescriptor); static ExecCmdStreamClose instance(final int fileDescriptor); @Override String toString(); @Override Tag getTagValue(); static final String PI_TAG; static final String FILE_INX; static final int STREAM_CLOSE_API_NBR; }### Answer:
@Test public void testGetTagValue() throws Exception { ExecCmdStreamClose execCmd = ExecCmdStreamClose.instance(1); String actualXML = execCmd.getParsedTags(); StringBuilder sb = new StringBuilder(); sb.append("<fileCloseInp_PI><fileInx>1</fileInx>\n"); sb.append("</fileCloseInp_PI>\n"); String expectedXML = sb.toString(); Assert.assertEquals("did not get expected XML from PI", expectedXML, actualXML); }