### Question:
ModAccessControlInp extends AbstractIRODSPackingInstruction { public static ModAccessControlInp instanceForSetPermissionInAdminMode(final boolean recursive, final String zone, final String absolutePath, final String userName, final String permission) { return new ModAccessControlInp(MOD_ACESS_CONTROL_API_NBR, recursive, zone, absolutePath, userName, permission, true); } private  ModAccessControlInp(final int apiNumber, final boolean recursive, final String zone,
			final String absolutePath, final String userName, final String permission, final boolean adminMode); static ModAccessControlInp instanceForSetPermission(final boolean recursive, final String zone,
			final String absolutePath, final String userName, final String permission); static ModAccessControlInp instanceForSetPermissionInAdminMode(final boolean recursive, final String zone,
			final String absolutePath, final String userName, final String permission); static ModAccessControlInp instanceForSetInheritOnACollection(final boolean recursive, final String zone,
			final String absolutePath); static ModAccessControlInp instanceForSetInheritOnACollectionInAdminMode(final boolean recursive,
			final String zone, final String absolutePath); static ModAccessControlInp instanceForSetNoInheritOnACollection(final boolean recursive, final String zone,
			final String absolutePath); static ModAccessControlInp instanceForSetNoInheritOnACollectionInAdminMode(final boolean recursive,
			final String zone, final String absolutePath); @Override Tag getTagValue(); boolean isRecursive(); String getZone(); String getAbsolutePath(); String getUserName(); String getPermission(); static final String PI_TAG; static final int MOD_ACESS_CONTROL_API_NBR; static final String RECURSIVE_FLAG; static final String ACCESS_LEVEL; static final String USER_NAME; static final String ZONE; static final String PATH; static final String ADMIN; static final String READ_PERMISSION; static final String WRITE_PERMISSION; static final String OWN_PERMISSION; static final String INHERIT_PERMISSION; static final String NOINHERIT_PERMISSION; static final String NULL_PERMISSION; }### Answer:
@Test public final void testGetParsedTagsAdminMode() throws Exception { ModAccessControlInp pi = ModAccessControlInp.instanceForSetPermissionInAdminMode(true, "", "path", "userName", "read"); String actualTags = pi.getParsedTags(); StringBuilder sb = new StringBuilder(); sb.append("<modAccessControlInp_PI><recursiveFlag>1</recursiveFlag>\n"); sb.append("<accessLevel>admin:read</accessLevel>\n"); sb.append("<userName>userName</userName>\n"); sb.append("<zone></zone>\n"); sb.append("<path>path</path>\n"); sb.append("</modAccessControlInp_PI>\n"); Assert.assertEquals("invalid packing instruction", sb.toString(), actualTags); }