@Test
@Transactional
public void testCreateEnforcementJob2() throws Exception {

    
    IAgreement agreement = saveAgreement();
    IEnforcementJob stored = service.createEnforcementJob(agreement.getAgreementId());
    assertTrue(stored.getId() != null);
    assertFalse(stored.getEnabled());
    assertNull(stored.getFirstExecuted());
    assertNull(stored.getLastExecuted());
}