public boolean isRunning() {
return theService != null;
}
public void executeSingleCommand(String command, OutputStream out) throws Exception {
Request request = new MockRequestBuilder(command).noChunk().build();
FitNesseExpediter expediter = new FitNesseExpediter(new MockSocket(), context);
Response response = expediter.createGoodResponse(request);
response.withoutHttpHeaders();
MockResponseSender sender = new MockResponseSender.OutputStreamSender(out);
sender.doSending(response);