### Question:
CollInp extends AbstractIRODSPackingInstruction { public String getCollectionName() { return collectionName; } private  CollInp(final String collectionName, final boolean recursiveOperation); private  CollInp(final String collectionName, final boolean recursiveOperation, final boolean forceOperation); private  CollInp(final String collectionName, final boolean recursiveOperation, final boolean forceOperation,
			final boolean unregister); static final CollInp instanceForRecursiveDeleteCollectionNoForce(final String collectionName); static final CollInp instanceForUnregisterCollection(final String collectionName, final boolean force,
			final boolean recursive); static final CollInp instanceForRecursiveDeleteCollectionWithForce(final String collectionName); static final CollInp instance(final String collectionName, final boolean recursiveOperation); static final CollInp instance(final String collectionName, final boolean recursiveOperation,
			final boolean forceOperation); String getCollectionName(); boolean isRecursiveOperation(); boolean isForceOperation(); @Override Tag getTagValue(); boolean isUnregister(); static final String PI_TAG; static final String COLL_NAME; static final String RECURSIVE_OPR; static final String FORCE_FLAG; static final String FLAGS; static final String OPR_TYPE; static final int MKDIR_API_NBR; static final int RMDIR_API_NBR; static final boolean RECURSIVE_OPERATION; static final boolean NON_RECURSIVE_OPERATION; static final boolean FORCE_OPERATION; }### Answer:
@Test public final void testGetCollectionName() throws JargonException { CollInp collInp = CollInp.instance("testcollname", true); Assert.assertEquals("coll name not set", "testcollname", collInp.getCollectionName()); }