@Test public void testInstallItem_Context_InProgressSubmission() throws Exception { context.turnOffAuthorisationSystem(); Collection col = Collection.create(context); WorkspaceItem is = WorkspaceItem.create(context, col, false); Item result = InstallItem.installItem(context, is); context.restoreAuthSystemState(); assertThat("testInstallItem_Context_InProgressSubmission 0", result, equalTo(is.getItem())); }
public static Item installItem(Context c, InProgressSubmission is) throws SQLException, IOException, AuthorizeException { return installItem(c, is, null); }
InstallItem { public static Item installItem(Context c, InProgressSubmission is) throws SQLException, IOException, AuthorizeException { return installItem(c, is, null); } }
InstallItem { public static Item installItem(Context c, InProgressSubmission is) throws SQLException, IOException, AuthorizeException { return installItem(c, is, null); }  }
InstallItem { public static Item installItem(Context c, InProgressSubmission is) throws SQLException, IOException, AuthorizeException { return installItem(c, is, null); }  static Item installItem(Context c, InProgressSubmission is); static Item installItem(Context c, InProgressSubmission is,
            String suppliedHandle); static Item restoreItem(Context c, InProgressSubmission is,
            String suppliedHandle); static String getBitstreamProvenanceMessage(Item myitem); }
InstallItem { public static Item installItem(Context c, InProgressSubmission is) throws SQLException, IOException, AuthorizeException { return installItem(c, is, null); }  static Item installItem(Context c, InProgressSubmission is); static Item installItem(Context c, InProgressSubmission is,
            String suppliedHandle); static Item restoreItem(Context c, InProgressSubmission is,
            String suppliedHandle); static String getBitstreamProvenanceMessage(Item myitem);  }