* Test running the job. Mock interactions as this isn't integration test.
*/
@Test
public void testCreateJobThrowsRandomException() {
final JobRepository jobRepo = Mockito.mock(JobRepository.class);
final GenieNodeStatistics stats = Mockito.mock(GenieNodeStatistics.class);
final JobManagerFactory jobManagerFactory = Mockito.mock(JobManagerFactory.class);
final JobServiceJPAImpl impl = new JobServiceJPAImpl(jobRepo, stats, jobManagerFactory);
final Job job = Mockito.mock(Job.class);
Mockito.when(job.getId()).thenReturn(JOB_1_ID);