### Question:
AnnouncementModule implements eu.cloud4soa.api.soa.AnnouncementModule { @Override public String storePaaSInstance(PaaSInstance paaSInstance, String userInstanceUriId) throws SOAException { logger.debug("received paaSInstance: "+paaSInstance); logger.debug("received userInstanceUriId: "+userInstanceUriId); logger.debug("userProfilesRepository.getUserInstance(userInstanceUriId)"); PaaSUserInstance paaSUserInstance; try { paaSUserInstance = (PaaSUserInstance)userProfilesRepository.getUserInstance(userInstanceUriId); } catch (RepositoryException ex) { throw new SOAException(Response.Status.INTERNAL_SERVER_ERROR, ex.getMessage()); } if(paaSUserInstance!=null){ logger.debug("retrieved paaSUserInstance: "+paaSUserInstance); logger.debug("paaSProviderInstance associated: "+paaSUserInstance.getPaaSProviderInstance()); logger.debug(""+paaSUserInstance.getPaaSProviderInstance().getPaaSProvider()); logger.debug("set paaSProviderInstance to paaSInsatece"); paaSInstance.setPaaSProviderInstance(paaSUserInstance.getPaaSProviderInstance()); logger.debug("paaSOfferingProfilesRepository.storePaaSInstance(paaSInstance)"); String uriId; try { uriId = paaSOfferingProfilesRepository.storePaaSInstance(paaSInstance); } catch (RepositoryException ex) { throw new SOAException(Response.Status.INTERNAL_SERVER_ERROR, ex.getMessage()); } Paas paas = new Paas(); paas.setName(paaSInstance.getProviderTitle()); paas.setUrl(paaSInstance.getPaaSProviderInstance().getHomePage()); paas.setUriID(uriId); paasrepository.store(paas); logger.debug("paaSInstance"+ paaSInstance +" stored with id: "+uriId); return uriId; } return null; }  @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 TestStorePaaSInstance() { try { announcementModule.storePaaSInstance(paaSInstance, userInstance.getUriId()); } catch (SOAException ex) { Assert.fail("storePaaSInstance method has thrown an exception!"); } }