### Question:
AnnouncementModule implements eu.cloud4soa.api.soa.AnnouncementModule { @Override public void removePaaSInstance(String paasInstanceUriId) throws SOAException { logger.debug("received paasInstanceUriId: "+paasInstanceUriId); logger.debug("paaSOfferingProfilesRepository.updatePaaSInstance(paaSInstance, null);"); try { paaSOfferingProfilesRepository.removePaaSInstance(paasInstanceUriId); } catch (RepositoryException ex) { throw new SOAException(Response.Status.INTERNAL_SERVER_ERROR, ex.getMessage()); } logger.debug("paaSInstance: "+ paasInstanceUriId +" removed"); }  @Required void setRepositoryManager(RepositoryManager repositoryManager); @Required void setPaaSOfferingProfilesRepository(PaaSOfferingProfilesRepository paaSOfferingProfilesRepository); @Required void setUserProfilesRepository(UserProfilesRepository userProfilesRepository); @Override PaaSInstance getPaaSInstance(String paaSInstanceUriId); @Override String storePaaSInstance(PaaSInstance paaSInstance, String userInstanceUriId); @Override Response storeTurtlePaaSProfile(String paasProfile, String userInstanceUriId); @Override List<PaaSInstance> retrieveAllPaaSInstances(String userInstanceUriId); @Override void updatePaaSInstance(PaaSInstance paaSInstance); @Override void removePaaSInstance(String paasInstanceUriId);  }### Answer:
@Ignore @Test public void TestRemovePaaSInstance() { try { announcementModule.removePaaSInstance(paaSInstance.getUriId()); } catch (SOAException ex) { Assert.fail("removePaaSInstance method has thrown an exception!"); } List<PaaSInstance> applications = null; try { applications = announcementModule.retrieveAllPaaSInstances(userInstance.getUriId()); } catch (SOAException ex) { Assert.fail("retrieveAllPaaSInstances method has thrown an exception!"); } Assert.assertTrue(applications.isEmpty()); }