{
Arguments args = new Arguments();
args.addArgument("name.?", "value_ here");
args.addArgument("name$of property", "value_.+");
HTTPArgument.convertArgumentsToHTTP(args);
CollectionProperty argList = args.getArguments();
HTTPArgument httpArg =
(HTTPArgument) argList.get(0).getObjectValue();
assertEquals("name.%3F", httpArg.getEncodedName());
assertEquals("value_+here", httpArg.getEncodedValue());
httpArg = (HTTPArgument) argList.get(1).getObjectValue();
assertEquals("name%24of+property", httpArg.getEncodedName());
assertEquals("value_.%2B", httpArg.getEncodedValue());
}