assertEquals("value_+here",clone.getEncodedValue());
}
public void testConversion() throws Exception
{
Arguments args = new Arguments();
args.addArgument("name.?","value_ here");
args.addArgument("name$of property","value_.+");
HTTPArgument.convertArgumentsToHTTP(args);
List argList = args.getArguments();
HTTPArgument httpArg = (HTTPArgument)argList.get(0);
assertEquals("name.%3F",httpArg.getEncodedName());
assertEquals("value_+here",httpArg.getEncodedValue());
httpArg = (HTTPArgument)argList.get(1);
assertEquals("name%24of+property",httpArg.getEncodedName());