public PartnershipControllerTest(String testName) {
super(testName);
}
protected void setUp() throws Exception {
Partnership p1 = new Partnership();
p1.setIdContact(TEST_ID_ABC1);
p1.setOrganisationName(TEST_NAME_ABC1);
p1.setFirstName(TEST_NAME_ABC1);
p1.setLastName(getName());
p1.setTypeOfPartnership("Recruitment");
partnershipCtl.create(p1);
for(long id = TEST_ID_ABC1+1; id < TEST_ID_ABC1 + 8; id++) {
Partnership p = new Partnership();
p.setIdContact(id);
p.setOrganisationName(TEST_NAME_ABC1 + id);
p.setLastName(getName());
p.setTypeOfPartnership("Recruitment");
partnershipCtl.create(p);
}
Partnership p2 = new Partnership();
p2.setIdContact(TEST_ID_BBC);
p2.setOrganisationName(TEST_NAME_BBC);
p2.setLastName(getName());
p2.setTypeOfPartnership("Recruitment");
partnershipCtl.create(p2);
}