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();
}
Aggregations