@Test
public void testPrepareJrxmlAndReadInputParameters()
                        throws ProcessletException {

    List<CodeType> processedIds = new ArrayList<CodeType>();
    InputStream jrxml = TestDataTableContentProviderTest.class.getResourceAsStream( "../templateWithPropsFromResourceBundle.jrxml" );
    Map<String, Object> params = new HashMap<String, Object>();
    List<ProcessletInput> inputs = new ArrayList<ProcessletInput>();
    inputs.add( new LiteralInputImpl(
                                      propertiesContentProvider.getInputDefinition( new HashMap<String, ParameterDescription>() ),
                                      null, null, "de", null ) );
    ProcessletInputs in = new ProcessletInputs( inputs );
    propertiesContentProvider.prepareJrxmlAndReadInputParameters( jrxml, params, in, processedIds, parameters );
    assertEquals( 1, processedIds.size() );
    assertEquals( 4, params.size() );
}