@Test
@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
public void testStopEnforcement() throws Exception {

    
    IEnforcementJob job = saveAgreementAndEnforcementJob();
    job.setEnabled(true);
    enforcementJobDao.save(job);
    
    boolean result = service.stopEnforcement(job.getAgreement().getAgreementId());
    assertTrue(result);
    
    job = service.getEnforcementJob(job.getId());
    assertFalse(job.getEnabled());
    
    result = service.startEnforcement("noexiste");
    assertFalse(result);
}