cubeClient.setPath("/foo.js");
try {
assertEquals("one api call after setDocument", 1, cubeClient.api.collectedCallbacks.size());
cubeClient.api.collectedCallbacks.get(0).onMessageReceived(response);
} finally {
cubeClient.cleanup();
}
assertEquals("one update after data received", 1, updateListener.runCount);
assertTrue("codeGraphSource received update", codeGraphSource.hasUpdate());
CodeGraphPrefixIndex prefixIndex = new CodeGraphPrefixIndex(