Mockito.doReturn(answer).when(host).fetch(
Mockito.any(URI.class),
Mockito.any(Range.class),
Mockito.any(Version.class)
);
final Hosts hosts = Mockito.mock(Hosts.class);
Mockito.doReturn(host).when(hosts).find(Mockito.anyString());
final int port = PortMocker.reserve();
final HttpFacade facade =
new HttpFacade(hosts, PortMocker.reserve(), port);
try {