@Test
public void replaceAndRemoveHeader() {
System.setProperty(GlobalHttpHeadersRequestFilter.HEADER_SYSTEM_PROPERTY_PREFIX + "User-Agent", "Testing");
System.setProperty(GlobalHttpHeadersRequestFilter.REPLACE_HEADERS_SYSTEM_PROPERTY, "true");
WsdlTestRunContext context = mockContext();
StringToStringsMap requestHeaders = new StringToStringsMap();
requestHeaders.add("User-Agent", "Existing header");
AbstractHttpRequest<?> request = mockRequest(requestHeaders);
globalHttpHeadersRequestFilter.filterAbstractHttpRequest(context, request);