@Test
public void createsAndCallsRequestHandler() {

  testSubject.run();
  try {
    verify(requestHandlerFactory, times(1))
        .createHandlerForRequest(socket, requestString, responseWriter);
  } catch (Exception e) {
    Assert.fail(e.getMessage());
  }
  verify(requestHandler, times(1)).handleRequest();
}