@Override
public void setUp() {
// init common values
m_startTime = new Date();
// init data object
m_obj = new BasicDigitalObject();
m_obj.setCreateDate(m_startTime);
//m_obj.addModel(Models.FEDORA_OBJECT_3_0.uri);
m_obj.setLabel("Test Object");
m_obj.setLastModDate(m_startTime);
m_obj.setOwnerId("userId1");
m_obj.setPid("test:1");
m_obj.setState("A");
// add some datastreams
m_ds1_0 = new Datastream();
m_ds1_0.DatastreamID = "DS1.0";
m_ds1_0.DSVersionID = "DS1";
m_ds1_1 = new Datastream();
m_ds1_1.DatastreamID = "DS1.1";
m_ds1_1.DSVersionID = "DS1";
m_ds2_0 = new Datastream();
m_ds2_0.DatastreamID = "DS2.0";
m_ds2_0.DSVersionID = "DS2";
// ... and some audit records
m_audit1 = new AuditRecord();
m_audit1.id = "AUDIT1";
m_audit1.action = "Object Created";
m_audit2 = new AuditRecord();
m_audit2.id = "AUDIT2";
m_audit2.action = "Datastream 1 Added";
m_audit3 = new AuditRecord();
m_audit3.id = "AUDIT3";
m_audit3.action = "Datastream 1 Versioned";
m_audit4 = new AuditRecord();
m_audit4.id = "AUDIT4";
m_audit4.action = "Datastream 2 Added";
m_audit5 = new AuditRecord();
m_audit5.id = "AUDIT5";
m_audit5.action = "Disseminator 1 Added";
m_audit6 = new AuditRecord();
m_audit6.id = "AUDIT6";
m_audit6.action = "Disseminator 1 Versioned";
m_audit7 = new AuditRecord();
m_audit7.id = "AUDIT7";
m_audit7.action = "Disseminator 2 Added";
// init sdef
m_sdef = new BasicDigitalObject();
m_sdef.setCreateDate(m_startTime);
m_sdef.setLabel("Test Service Definition Object");
m_sdef.setLastModDate(m_startTime);
m_sdef.setOwnerId("userId2");
m_sdef.setPid("test:2");
m_sdef.setState("W");
m_sdep = new BasicDigitalObject();
m_sdep.setCreateDate(m_startTime);
m_sdep.setLabel("Test Service Deployment Object");
m_sdep.setLastModDate(m_startTime);
m_sdep.setOwnerId("userId3");
m_sdep.setPid("test:3");