@Test public void shouldReturnUrlWithHttpProtocolIfProtocolNotPresentInitially() { MotechURL record = new MotechURL("some.url"); assertThat(record.toString(), Is.is("http: }
@Override public String toString() { return this.url; }
MotechURL { @Override public String toString() { return this.url; } }
MotechURL { @Override public String toString() { return this.url; } MotechURL(String url); }
MotechURL { @Override public String toString() { return this.url; } MotechURL(String url); @Override String toString(); String getHost(); }
MotechURL { @Override public String toString() { return this.url; } MotechURL(String url); @Override String toString(); String getHost(); static final String URL_PATTERN; }