int port = server.start();
IntelliJCoderClient client = new IntelliJCoderClient(new Network(), port);
context.checking(new Expectations(){{
allowing(workspaceManager).createProblemWorkspace(with(any(Problem.class)));
will(throwException(new IntelliJCoderException("big error", null)));
}});
try {
client.createProblemWorkspace(sampleProgram());
fail("should rethrow exception");
} catch (IntelliJCoderException e) {