}
@Test(timeout = TIMEOUT)
public void testSourceTransferFromServerToClient() throws Exception {
final WorkspaceManager workspaceManager = context.mock(WorkspaceManager.class);
IntelliJCoderServer server = new IntelliJCoderServer(workspaceManager, new Network());
int port = server.start();
IntelliJCoderClient client = new IntelliJCoderClient(new Network(), port);
context.checking(new Expectations(){{
allowing(workspaceManager).getSolutionSource("className"); will(returnValue("solution source"));
}});
assertEquals("solution class source", "solution source", client.getSolutionSource("className"));