@Test
public void testSetPatchKeepInRepo() {

    final ImportOptions delegate = new ImportOptions();
    final InternalImportOptions options = new InternalImportOptions(pid, delegate, null);
    delegate.setPatchKeepInRepo(false);
    assertFalse("isPatchKeepInRepo false", options.isPatchKeepInRepo());
    delegate.setPatchKeepInRepo(true);
    assertTrue("isPatchKeepInRepo true", options.isPatchKeepInRepo());
    options.setPatchKeepInRepo(false);
    assertFalse("isPatchKeepInRepo false", delegate.isPatchKeepInRepo());
    options.setPatchKeepInRepo(true);
    assertTrue("isPatchKeepInRepo true", delegate.isPatchKeepInRepo());
}