@Test
public void userCanChooseOwnPort() throws IOException {
int portNum = ClientDriver.getFreePort();
ClientDriver driver = new ClientDriverFactory().createClientDriver(portNum);
driver.addExpectation(onRequestTo("/url"), giveResponse("hello", "text/plain"));
HttpClient client = new DefaultHttpClient();
HttpGet getter = new HttpGet("http://localhost:" + portNum + "/url");
HttpResponse response = client.execute(getter);