### Question:
AnnouncementModule implements eu.cloud4soa.api.soa.AnnouncementModule { @Override public List<PaaSInstance> retrieveAllPaaSInstances(String userInstanceUriId) throws SOAException { logger.debug("received userInstanceUriId: "+userInstanceUriId); logger.debug("paaSOfferingProfilesRepository.getAllAvailablePaaSInstances()"); List<PaaSInstance> retrievedPaaSInstances; try { retrievedPaaSInstances = paaSOfferingProfilesRepository.retrieveAllPaaSInstances(userInstanceUriId); } catch (RepositoryException ex) { throw new SOAException(Response.Status.INTERNAL_SERVER_ERROR, ex.getMessage()); } logger.debug("retrieved List<PaaSInstance>: "+retrievedPaaSInstances); return retrievedPaaSInstances; }  @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 TestRetrieveAllApplicationProfiles() { 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()); }