@Test
public void testGetJobs() {

    Account account = getJadAccount();
    Jobs resource = new Jobs();
    UkelonnService ukelonn = mock(UkelonnService.class);
    when(ukelonn.getJobs(anyInt())).thenReturn(getJadJobs());
    resource.ukelonn = ukelonn;
    List<Transaction> jobs = resource.jobs(account.getAccountId());
    assertEquals(10, jobs.size());
}