@Test
public void testRedirectCustomOverride() throws Exception {
String overrideResponse = "overridden";
testServer.setLastExchange(null);
Client client = new Client("Consumer API", false);
client.toggleProfile(true);
client.addServerMapping("localhost", "127.0.0.1:8080", null);
client.setCustomResponse("Global", overrideResponse);
client.toggleResponseOverride("Global", true);
String response = HttpUtils.doProxyGet("http://localhost/", null);
System.out.println(response);
HttpExchangeInfo info = testServer.getLastExchange();
assertNull(info);