agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestInputProcessorIT.java
/**
     * Tests required visible {@link SoftwareInput} throws an exception when not included in the job request
     */
Tests required visible  SoftwareInput throws an exception when not included in the job request
Tests required visible SoftwareInput throws an exception when not included in the job request
@Test(expectedExceptions = JobProcessingException.class)
    public void processRequiredVisibleParametersThrowExceptionWhenNotPresentInJobRequest() throws JobProcessingException {
        String message = "Required visible parameters missing from the job request should result in a JobProcessingException.";
        try {
            SoftwareInput input = createInput("hiddeninput", "http://example.com/", null, true, true);
            _genericProcess(List.of(input), mapper.createObjectNode());
            fail(message);
        } catch (PermissionException e) {
            fail(message);
        }
    }
@ Test ( expectedExceptions = JobProcessingException . class ) public void processRequiredVisibleParametersThrowExceptionWhenNotPresentInJobRequest ( ) throws JobProcessingException { String message = "Required visible parameters missing from the job request should result in a JobProcessingException." ; try { SoftwareInput input = createInput ( "hiddeninput" , "http://example.com/" , null , true , true ) ; _genericProcess ( List . of ( input ) , mapper . createObjectNode ( ) ) ; fail ( message ) ; } catch ( PermissionException e ) { fail ( message ) ; } }
Tests required visible {@link SoftwareInput} throws an exception when not included in the job request
Tests required visible { @link SoftwareInput } throws an exception when not included in the job request