@Test
public void testActivateWithHeaders() throws Exception {

	JSONWebServiceClientImpl jsonWebServiceClientImpl =
		new JSONWebServiceClientImpl();
	Map<String, Object> properties = getBaseProperties();
	properties.put(
		"headers", "headerKey1=headerValue1;headerKey2=headerValue2");
	jsonWebServiceClientImpl.activate(properties);
	Map<String, String> headers = jsonWebServiceClientImpl.getHeaders();
	Assert.assertTrue(headers.containsKey("headerKey1"));
}