train_optimizePath(optimizer, "/bar/" + RAW_PATH, OPTIMIZED);
train_encodeURL(response, OPTIMIZED, ENCODED);
replay();
Link link = new LinkImpl("/bar/" + RAW_PATH, true, false, response, optimizer);
assertEquals(link.toString(), ENCODED);
verify();
}