agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestParameterProcessorIT.java
/**
     * Generatest test cases for each {@link SoftwareParameterType} to test that when {@link SoftwareParameter#isVisible()}
     * is false, a job request to set that parameter will result in an exception
     *
     * @return test cases
     */
Generatest test cases for each  SoftwareParameterType to test that when  SoftwareParameter#isVisible()
is false, a job request to set that parameter will result in an exception

@return test cases
Generatest test cases for each SoftwareParameterType to test that when SoftwareParameter#isVisible () is false a job request to set that parameter will result in an exception @return test cases
@DataProvider
    public Object[][] processThrowsExceptionForHiddenParameterInRequestProvider() {
        List<Object[]> testData = new ArrayList<Object[]>();
        testData.add(new Object[]{SoftwareParameterType.flag, Boolean.TRUE});
        testData.add(new Object[]{SoftwareParameterType.bool, Boolean.TRUE});
        testData.add(new Object[]{SoftwareParameterType.enumeration, "ALPHA"});
        testData.add(new Object[]{SoftwareParameterType.number, 512L});
        testData.add(new Object[]{SoftwareParameterType.string, UUID.randomUUID().toString()});
        return testData.toArray(new Object[][]{});
    }
@ DataProvider public Object [ ] [ ] processThrowsExceptionForHiddenParameterInRequestProvider ( ) { List < Object [ ] > testData = new ArrayList < Object [ ] > ( ) ; testData . add ( new Object [ ] { SoftwareParameterType . flag , Boolean . TRUE } ) ; testData . add ( new Object [ ] { SoftwareParameterType . bool , Boolean . TRUE } ) ; testData . add ( new Object [ ] { SoftwareParameterType . enumeration , "ALPHA" } ) ; testData . add ( new Object [ ] { SoftwareParameterType . number , 512L } ) ; testData . add ( new Object [ ] { SoftwareParameterType . string , UUID . randomUUID ( ) . toString ( ) } ) ; return testData . toArray ( new Object [ ] [ ] { } ) ; }
Generatest test cases for each {@link SoftwareParameterType} to test that when {@link SoftwareParameter#isVisible()}
 is false, a job request to set that parameter will result in an exception
Generatest test cases for each { @link SoftwareParameterType } to test that when { @link SoftwareParameter#isVisible () } is false a job request to set that parameter will result in an exception