	@Test	
	public void computeServiceLevelTestBronze() throws ParseException{

		BusinessSLA sla= new BusinessSLA(70, 80, 85,
				new HoursPeriod(0, 1440), new HoursPeriod(420, 1320),
				new HoursPeriod(600, 1080), "smarttravel.com", "meteo_service","slaName");
		SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd_HH:mm");
		int responseTime=84;
		Date timeStamp=format.parse("2012-08-21_12:01");
		BusinessServiceLevel level=sla.computeServiceLevel(responseTime, timeStamp);
		
		assertEquals(BusinessServiceLevel.BRONZE, level);
		
		
	}