@Test
public void expandsPropertiesInHeaderName() throws Exception {
StringToStringsMap headers = new StringToStringsMap();
String headerValue = "The value";
headers.add("Header-for-${request}", headerValue);
AbstractHttpRequest request = prepareRequestWithHeaders(headers);
SubmitContext submitContext = new StubbedSubmitContext(request);
String requestName = "Fin-fin request";
submitContext.setProperty("request", requestName);
httpTransport.sendRequest(submitContext, request);