	@Test
	public void testGetViolationsWithPolicy1() {

		IPolicy policy;
		System.out.println("---testEvaluateWithPolicy1()---");

		/*
         * t-2, t-3 are breaches but are separated more than policy interval -> 0 violations 
		 */
        List<IMonitoringMetric> metrics = setUpWithPolicies(null, null);

        policy = newPolicy("LATENCY", 2, new Date(900));
        term.setPolicies(Arrays.asList(new IPolicy[] { policy }));

		List<IViolation> violations = evaluator.evaluate(contract, term, metrics, now);

		assertEquals(0, violations.size());
	}