@Test public void put() throws Exception { soapMessageInjectAdapter.put("foo", "bar"); verify(soapMessageContext).put(eq(SOAPMessageContext.HTTP_REQUEST_HEADERS), eq(singletonMap("foo", singletonList("bar")))); }
@Override public void put(String key, String value) { headers.put(key, Collections.singletonList(value)); }
SOAPMessageInjectAdapter implements TextMap { @Override public void put(String key, String value) { headers.put(key, Collections.singletonList(value)); } }
SOAPMessageInjectAdapter implements TextMap { @Override public void put(String key, String value) { headers.put(key, Collections.singletonList(value)); } SOAPMessageInjectAdapter(SOAPMessageContext context); }
SOAPMessageInjectAdapter implements TextMap { @Override public void put(String key, String value) { headers.put(key, Collections.singletonList(value)); } SOAPMessageInjectAdapter(SOAPMessageContext context); @Override Iterator<Map.Entry<String, String>> iterator(); @Override void put(String key, String value); }
SOAPMessageInjectAdapter implements TextMap { @Override public void put(String key, String value) { headers.put(key, Collections.singletonList(value)); } SOAPMessageInjectAdapter(SOAPMessageContext context); @Override Iterator<Map.Entry<String, String>> iterator(); @Override void put(String key, String value);  }