@Test
public void testGetViolations() throws Exception {

    Agreement agreement = (Agreement) resource.getAgreement(applicationData.getSeaCloudsApplicationId()).getEntity();
    for(GuaranteeTerm term :  agreement.getTerms().getAllTerms().getGuaranteeTerms()){
        List<Violation> entity = (List<Violation>) resource.getViolations(applicationData.getSeaCloudsApplicationId(), term.getName()).getEntity();
        assertNotNull(entity);
    }
}