"import java.lang.Class\n" +
"java.lang.Class.asSubclass";
Document doc = new Document(d);
IModule module = AbstractModule.createModuleFromDoc("", null, doc, nature, true);
Definition[] defs = (Definition[]) module.findDefinition(CompletionStateFactory.getEmptyCompletionState(
"java.lang.Class.asSubclass", nature, new CompletionCache()), 2, 20, nature);
assertEquals(1, defs.length);
assertEquals("asSubclass", defs[0].value);
assertTrue(defs[0].module instanceof JavaZipModule);