agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/monitors/parsers/JobMonitorResponseParserFactoryTest.java
/**
     * Ceates a mock {@link Job} for testing using the given system and software. The job has mocked
     * system and software getters, but the actual software and system objects will not exist.
     * @return a mock job instance for use in testing
     */
Ceates a mock  Job for testing using the given system and software. The job has mocked
system and software getters, but the actual software and system objects will not exist.
@return a mock job instance for use in testing
Ceates a mock Job for testing using the given system and software . The job has mocked system and software getters but the actual software and system objects will not exist . @return a mock job instance for use in testing
private Job createMockJob() {
        Job job = mock(Job.class);
        when(job.getSoftwareName()).thenReturn(UUID.randomUUID().toString());
        when(job.getSystem()).thenReturn(UUID.randomUUID().toString());
        when(job.getUuid()).thenReturn(UUID.randomUUID().toString());
        when(job.getId()).thenReturn(1L);
        return job;
    }
private Job createMockJob ( ) { Job job = mock ( Job . class ) ; when ( job . getSoftwareName ( ) ) . thenReturn ( UUID . randomUUID ( ) . toString ( ) ) ; when ( job . getSystem ( ) ) . thenReturn ( UUID . randomUUID ( ) . toString ( ) ) ; when ( job . getUuid ( ) ) . thenReturn ( UUID . randomUUID ( ) . toString ( ) ) ; when ( job . getId ( ) ) . thenReturn ( 1L ) ; return job ; }
Ceates a mock {@link Job} for testing using the given system and software.
Ceates a mock { @link Job } for testing using the given system and software .
//        ExecutionSystem executionSystem = createMockExecutionSystem(executionType, schedulerType); //        Software software = createMockSoftware(executionSystem, executionType);