Search in sources :

Example 1 with Simple2N3BagJob

use of edu.unc.lib.boxc.deposit.normalize.Simple2N3BagJob in project box-c by UNC-Libraries.

the class Simple2N3BagJobTest method setup.

@Before
public void setup() throws Exception {
    status = new HashMap<>();
    when(depositStatusFactory.get(anyString())).thenReturn(status);
    job = new Simple2N3BagJob();
    job.setDepositUUID(depositUUID);
    job.setDepositDirectory(depositDir);
    setField(job, "pidMinter", pidMinter);
    job.setPremisLoggerFactory(premisLoggerFactory);
    setField(job, "depositModelManager", depositModelManager);
    setField(job, "depositsDirectory", depositsDirectory);
    setField(job, "depositStatusFactory", depositStatusFactory);
    job.init();
}
Also used : Simple2N3BagJob(edu.unc.lib.boxc.deposit.normalize.Simple2N3BagJob) Before(org.junit.Before)

Aggregations

Simple2N3BagJob (edu.unc.lib.boxc.deposit.normalize.Simple2N3BagJob)1 Before (org.junit.Before)1