@Test(expected = OWSExceptionReport.class)
public void testFailedExecute_2()
                        throws Exception {

    String demoWPSURL = TestProperties.getProperty( "demo_wps_url" );
    Assume.assumeNotNull( demoWPSURL );
    WPSClient wpsClient = new WPSClient( new URL( demoWPSURL ) );
    Process proc = wpsClient.getProcess( "Centroid" );
    ProcessExecution execution = proc.prepareExecution();
    // adding invalid input parameter
    execution.addLiteralInput( "ThisDoesNotExist", null, "5", "sortOfInteger", "reallyBigUnit" );
    execution.executeAsync();
    Assert.assertTrue(execution.getState() != ExecutionState.SUCCEEDED); // we shouldn't arrive here
}