* Test of removeAdvertisement method, of class org.spw.controller.PartnershipController.
*/
public void testRemoveAdvertisement() {
System.out.println("removeAdvertisement");
Partnership partnership = partnershipCtl.read(TEST_ID_ABC1);
Advertisement advertisement = new Advertisement();
advertisement.setDateAdvert(new Date());
advertisement.setIdAdvertisement(TEST_ID_ABC1);
advertisement.setNotes(getName());
Partnership result = partnershipCtl.addAdvertisement(partnership, advertisement);
result = partnershipCtl.removeAdvertisement(partnership, advertisement);
assertFalse(result.getAdvertisements().contains(advertisement));
AdvertisementController advCtrl = new AdvertisementController();
assertNull(advCtrl.read(TEST_ID_ABC1));
}