public void add_parameter_value()
{
Response response = mockResponse();
ContextPathEncoder encoder = newMock(ContextPathEncoder.class);
expect(encoder.encodeValue("plain")).andReturn("encoded");
String expectedURI = "/ctx/foo?bar=encoded";
train_encodeURL(response, expectedURI, expectedURI);
replay();