}
@Test(dataProvider = com.linkedin.restli.internal.common.TestConstants.RESTLI_PROTOCOL_1_2_PREFIX + "requestSubBuilderDataProvider")
public void testSubGetWithReservedChars(RootBuilderWrapper<String, TwoPartKey> builders) throws ExecutionException, InterruptedException
{
TwoPartKey key = new TwoPartKey();
key.setMajor("a&1");
key.setMinor("b&2");
TwoPartKey param = new TwoPartKey();
param.setMajor("c&3");
param.setMinor("d&4");
ComplexResourceKey<TwoPartKey, TwoPartKey> complexKey = new ComplexResourceKey<TwoPartKey, TwoPartKey>(key, param);
Request<TwoPartKey> request = builders.get().setPathKey("keys", complexKey).id("stringKey").build();
TwoPartKey response = REST_CLIENT.sendRequest(request).get().getEntity();
Assert.assertEquals(response.getMajor(), "a&1ANDc&3");
Assert.assertEquals(response.getMinor(), "b&2ANDd&4");
}