### Question:
Rest extends BaseTransform<RestMeta, RestData> implements ITransform<RestMeta, RestData> { MultivaluedMapImpl createMultivalueMap( String paramName, String paramValue ) { MultivaluedMapImpl queryParams = new MultivaluedMapImpl(); queryParams.add( paramName, UriComponent.encode( paramValue, UriComponent.Type.QUERY_PARAM ) ); return queryParams; } Rest( TransformMeta transformMeta, RestMeta meta, RestData data, int copyNr, PipelineMeta pipelineMeta, Pipeline pipeline ); boolean processRow(); boolean init(); void dispose();  }### Answer:
@Test public void testCreateMultivalueMap() { TransformMeta transformMeta = new TransformMeta(); transformMeta.setName( "TestRest" ); PipelineMeta pipelineMeta = new PipelineMeta(); pipelineMeta.setName( "TestRest" ); pipelineMeta.addTransform( transformMeta ); Rest rest = new Rest( transformMeta, mock(RestMeta.class), mock( RestData.class ), 1, pipelineMeta, mock( Pipeline.class ) ); MultivaluedMapImpl map = rest.createMultivalueMap( "param1", "{a:{[val1]}}" ); String val1 = map.getFirst( "param1" ); assertTrue( val1.contains( "%7D" ) ); }