public void url_functionality() {
wd = mock(WebDriver.class);
fwd = new FluentWebDriver(wd);
TestableString ts = fwd.url();
assertThat(ts, notNullValue());
verifyNoMoreInteractions(wd);
// invocation of getCurrentUrl is lazy.
when(wd.getCurrentUrl()).thenReturn("http://foo/bar");
String actual = ts.toString();
assertThat(actual, equalTo("http://foo/bar"));
verify(wd).getCurrentUrl();
verifyNoMoreInteractions(wd);
}