### Question:
CustomUrlRequest implements Serializable { String getHttpMethod(){ return this.httpMethod; } CustomUrlRequest(String logUrl, String httpMethod);  CustomUrlRequest(String logUrl);  CustomUrlRequest(String logURL, String httpMethod, String httpBody, String rawHeaders, String basicAuthUsername, String basicauthPassword);   }### Answer:
@Test public void getHttpMethod_IsAlwaysCapitalized(){ CustomUrlRequest cur = new CustomUrlRequest("http: String expected = "GET"; assertThat("HTTP Method is always capitalized", cur.getHttpMethod(), is(expected)); cur = new CustomUrlRequest("http: expected = "PUT"; assertThat("HTTP Method is always capitalized", cur.getHttpMethod(), is(expected)); }
@Test public void getHttpMethod_CustomMethodNames_AlwaysCapitalized(){ CustomUrlRequest cur = new CustomUrlRequest("http: String expected = "BLAH"; assertThat("Custom HTTP Method should also be capitalized", cur.getHttpMethod(), is(expected)); }