### Question:
PaaSOfferingRecommendation implements eu.cloud4soa.api.soa.PaaSOfferingRecommendation { @Override public void deleteUserExperienceRate(String appURI) throws SOAException { logger.debug("Delete User experience rate for appURI: " + appURI); userExperienceRate.deleteUserExperienceRate(appURI); }  @Required void setBreachRepository(BreachRepository breachRepository); @Required void setApplicationProfilesRepository(ApplicationProfilesRepository applicationProfilesRepository); @Required void setApplicationInstanceRepository(ApplicationInstanceRepository applicationInstanceRepository); @Required void setUserExperienceRate(UserExperienceRate userExperienceRate); @Override void storeUserExperienceRate(String appURI, FiveStarsRate rate); @Override void deleteUserExperienceRate(String appURI); @Override FiveStarsRate getUserExperienceRate(String appURI); @Override void updateUserExperienceRate(String appURI, String rate); @Override List<FiveStarsRate> getPaaSUserExperienceEvaluation(String paasURI); @Override float getAveragePaaSUserExperienceRate(String paasURI); @Override float getPaaSBreachesPerWeek(String paasURI); @Override float getPaaSBreachesPerMonth(String paasURI); @Override float getPaaSBreachesPerDay(String paasURI);  }### Answer:
@Test public void testUserExperienceRateDelete() throws Exception { int ratesInTheDatabase; logger.debug( "counting the namber of rates in the database"); ratesInTheDatabase = userExperienceRateDao.retrieveAll().size(); logger.debug("Deleting one UserRate "); paasOfferingRecommendation.deleteUserExperienceRate( APP4TEST_URIID ); logger.debug( "Verifying the rate has been deleted"); assertTrue( "Database should contain one object less", userExperienceRateDao.retrieveAll().size() == (ratesInTheDatabase - 1) ); }