Response testResponse = schedulerResource.getJobState( mockJobRequest );
assertEquals( mockUnauthorizedResponse, testResponse );
// Test 2
SchedulerException mockSchedulerException = mock( SchedulerException.class );
doThrow( mockSchedulerException ).when( schedulerResource.schedulerService ).getJobState( mockJobRequest );
try {
schedulerResource.getJobState( mockJobRequest );
fail();