@Ignore
@Test
public void testPrepareJrxmlAndReadInputParametersWFS()
                        throws URISyntaxException, IOException, XMLStreamException, FactoryConfigurationError,
                        ProcessletException {

    MapContentProvider wmsContentProvider = getProvider();
    List<CodeType> processedIds = new ArrayList<CodeType>();
    Pair<InputStream, Boolean> jrxml = new Pair<InputStream, Boolean>(
                                                                       TestMapContentProviderTest.class.getResourceAsStream( "../../testWPSreportTemplate.jrxml" ),
                                                                       false );
    Map<String, Object> params = new HashMap<String, Object>();
    ProcessletInputs in = Utils.getInputs( "MAP", MIME_TYPE, SCHEMA,
                                           TestMapContentProviderTest.class.getResourceAsStream( "complexInputWFS" ) );
    HashMap<String, String> parameters = new HashMap<String, String>();
    parameters.put( "mapMAP_img", "java.lang.String" );
    parameters.put( "mapMAP_legend", "java.lang.String" );
    parameters.put( "LEGEND", "java.lang.String" );
    try {
        jrxml = wmsContentProvider.prepareJrxmlAndReadInputParameters( jrxml.first, params, in, processedIds,
                                                                       parameters );
    } catch ( ProcessletException e ) {
        // maybe connection to demo.deegree.org failed!
        Assume.assumeNoException( e );
    }
    assertEquals( 2, params.size() );
    assertEquals( 1, processedIds.size() );
    assertTrue( params.containsKey( "mapMAP_img" ) );
    Object value = params.get( "mapMAP_img" );
    assertTrue( value instanceof String );
    BufferedImage img = ImageIO.read( new File( (String) value ) );
    assertNotNull( img );
    assertEquals( 438, img.getWidth() );
    assertEquals( 479, img.getHeight() );
}