public void testBasic$() throws Exception {
String relativePath = "relative/path/foo.d";
ModuleSource moduleSource = new ModuleSource(relativePath, "module blah;");
Path filePath = DToolClient.getPathHandleForModuleSource(moduleSource);
ClientModuleParseCache clientModuleCache = client.getClientModuleCache();
assertEquals(clientModuleCache.getParsedModuleOrNull(filePath, moduleSource).module.getName(), "blah");
assertEquals(clientModuleCache.getExistingParsedModuleNode(filePath).getName(), "blah");
testCodeCompletion(moduleSource, 0,
"blah");
testCodeCompletion(new ModuleSource(relativePath, "module xpto;"), 0,
"xpto");