@Test public void getHeadersFromTextBlock_SingleHeader(){ String headers = "X-Custom: 17"; HashMap<String, String> expected = new HashMap<String, String>(); expected.put("X-Custom", "17"); CustomUrlRequest cur = new CustomUrlRequest("http: assertThat("Single line header is parsed", cur.getHttpHeaders(), is(expected)); }
HashMap<String, String> getHttpHeaders(){ return this.httpHeaders; }
CustomUrlRequest implements Serializable { HashMap<String, String> getHttpHeaders(){ return this.httpHeaders; } }
CustomUrlRequest implements Serializable { HashMap<String, String> getHttpHeaders(){ return this.httpHeaders; } CustomUrlRequest(String logUrl, String httpMethod);  CustomUrlRequest(String logUrl);  CustomUrlRequest(String logURL, String httpMethod, String httpBody, String rawHeaders, String basicAuthUsername, String basicauthPassword); }
CustomUrlRequest implements Serializable { HashMap<String, String> getHttpHeaders(){ return this.httpHeaders; } CustomUrlRequest(String logUrl, String httpMethod);  CustomUrlRequest(String logUrl);  CustomUrlRequest(String logURL, String httpMethod, String httpBody, String rawHeaders, String basicAuthUsername, String basicauthPassword);  }
CustomUrlRequest implements Serializable { HashMap<String, String> getHttpHeaders(){ return this.httpHeaders; } CustomUrlRequest(String logUrl, String httpMethod);  CustomUrlRequest(String logUrl);  CustomUrlRequest(String logURL, String httpMethod, String httpBody, String rawHeaders, String basicAuthUsername, String basicauthPassword);   }