Search in sources :

Example 1 with ValidateDestinationJob

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

the class ValidateDestinationJobIT method init.

@Before
public void init() throws Exception {
    job = new ValidateDestinationJob();
    job.setJobUUID(jobUUID);
    job.setDepositUUID(depositUUID);
    setField(job, "aclService", aclService);
    setField(job, "depositStatusFactory", depositStatusFactory);
    setField(job, "repoObjLoader", repoObjLoader);
    setField(job, "depositModelManager", depositModelManager);
    depModel = job.getWritableModel();
    depBag = depModel.createBag(depositPid.getRepositoryPath());
}
Also used : ValidateDestinationJob(edu.unc.lib.boxc.deposit.validate.ValidateDestinationJob) Before(org.junit.Before)

Aggregations

ValidateDestinationJob (edu.unc.lib.boxc.deposit.validate.ValidateDestinationJob)1 Before (org.junit.Before)1