@Test
public void testWrappedArrayDefinedWithRestriction() throws Exception {

    WSDLParser parser = new WSDLParser(WSDLTestHelper.wsdlResourcePath("jws-online.wsdl"));
peDescriptor descriptor = parser.getOperationOutputParameters("getSteadyStateTable").get(0);
    XMLOutputSplitter splitter = new XMLOutputSplitter(descriptor, new String [] {"model","fluxNames","fluxVals"}, new String [] {"text/plain","l('text/plain')","l('text/plain')"}, new String[] {"input"});
    String inputXML=getResourceAsString("jws-splitter-input.xml");
    Map<String,String> inputMap = new HashMap<String,String>();
    inputMap.put("input", inputXML);
    Map<String,Object> outputMap = splitter.execute(inputMap);
    assertNotNull(outputMap.get("model"));
    assertNotNull(outputMap.get("fluxNames"));
    assertNotNull(outputMap.get("fluxVals"));
    assertEquals("teusink",outputMap.get("model"));
    List<String> array = ( List<String> )outputMap.get("fluxNames");
    assertEquals(17,array.size());
    assert(array.contains("v[G3PDH]"));
    array = ( List<String> )outputMap.get("fluxVals");
    assertEquals(17,array.size());
    assert(array.contains("88.15049285974906"));
}