### Question:
CustomUrlRequest implements Serializable { String getLogURL(){ return this.logURL; } 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 removeCredentialsFromUrl_CredentialsPresent_RemovedFromUrl(){ CustomUrlRequest cur = new CustomUrlRequest("http: String expected = "http: assertThat("Credentials are removed from URL", cur.getLogURL(), is(expected)); }
@Test public void removeCredentialsFromUrl_EmailUsername_RemovedFromUrl(){ CustomUrlRequest cur = new CustomUrlRequest("http: String expected = "http: assertThat("Credentials are removed from URL", cur.getLogURL(), is(expected)); }