public void testFileUsagesDescription() {
    XQueryFile file = XQueryElementFactory.createFile(getProject(), "example contents");

    String description = provider.getNodeText(file, true);

    assertEquals("dummy.xq", description);
  }
  public void testFunctionUsagesDescription() {
    String description = provider.getNodeText(exampleFunctionDeclaration().getFunctionName(), true);

    assertEquals("example", description);
  }
  public void testNamespaceNameInModuleUsagesDescription() {
    String description = provider.getNodeText(exampleModuleDeclaration(), true);

    assertEquals("example", description);
  }
  public void testNamespaceNameInImportUsagesDescription() {
    String description = provider.getNodeText(exampleImport().getNamespacePrefix(), true);

    assertEquals("dummy", description);
  }
  public void testVariableUsagesDescriptiveName() {
    String description = provider.getNodeText(exampleVariableDeclaration().getVarName(), true);

    assertEquals("example", description);
  }