anchor.diff:      expect(statement.semicolon, isNotNull);
     }
   
  -  void test_parseDirective_export() {
  -    createParser("export 'lib/lib.dart';");
  -    Directive directive = parseFullDirective();
  -    expectNotNullIfNoErrors(directive);
  -    listener.assertNoErrors();
  -    expect(directive, new isInstanceOf<ExportDirective>());
  -    ExportDirective exportDirective = directive;
  -    expect(exportDirective.keyword, isNotNull);
  -    expect(exportDirective.uri, isNotNull);
  -    expect(exportDirective.combinators, hasLength(0));
  -    expect(exportDirective.semicolon, isNotNull);
  -  }
  -
  -  void test_parseDirective_import() {
  -    createParser("import 'lib/lib.dart';");
  -    Directive directive = parseFullDirective();
  -    expectNotNullIfNoErrors(directive);
  -    listener.assertNoErrors();
  -    expect(directive, new isInstanceOf<ImportDirective>());
  -    ImportDirective importDirective = directive;
  -    expect(importDirective.keyword, isNotNull);
  -    expect(importDirective.uri, isNotNull);
  -    expect(importDirective.asKeyword, isNull);
  -    expect(importDirective.prefix, isNull);
  -    expect(importDirective.combinators, hasLength(0));
  -    expect(importDirective.semicolon, isNotNull);
  -  }
  -
  -  void test_parseDirective_library() {
  -    createParser("library l;");
  -    Directive directive = parseFullDirective();
  -    expectNotNullIfNoErrors(directive);
  -    listener.assertNoErrors();
  -    expect(directive, new isInstanceOf<LibraryDirective>());
  -    LibraryDirective libraryDirective = directive;
  -    expect(libraryDirective.libraryKeyword, isNotNull);
  -    expect(libraryDirective.name, isNotNull);
  -    expect(libraryDirective.semicolon, isNotNull);
  -  }
  -
  -  void test_parseDirective_part() {
  -    createParser("part 'lib/lib.dart';");
  -    Directive directive = parseFullDirective();
  -    expectNotNullIfNoErrors(directive);
  -    listener.assertNoErrors();
  -    expect(directive, new isInstanceOf<PartDirective>());
  -    PartDirective partDirective = directive;
  -    expect(partDirective.partKeyword, isNotNull);
  -    expect(partDirective.uri, isNotNull);
  -    expect(partDirective.semicolon, isNotNull);
  -  }
  -
  -  void test_parseDirective_partOf() {
  -    createParser("part of l;");
  -    Directive directive = parseFullDirective();
  -    expectNotNullIfNoErrors(directive);
  -    listener.assertNoErrors();
  -    expect(directive, new isInstanceOf<PartOfDirective>());
  -    PartOfDirective partOfDirective = directive;
  -    expect(partOfDirective.partKeyword, isNotNull);
  -    expect(partOfDirective.ofKeyword, isNotNull);
  -    expect(partOfDirective.libraryName, isNotNull);
  -    expect(partOfDirective.semicolon, isNotNull);
  -  }
  -
  -  void test_parseDirectives_complete() {
  -    CompilationUnit unit =
  -        _parseDirectives("#! /bin/dart\nlibrary l;\nclass A {}");
  -    expect(unit.scriptTag, isNotNull);
  -    expect(unit.directives, hasLength(1));
  -  }
  -
  -  void test_parseDirectives_empty() {
  -    CompilationUnit unit = _parseDirectives("");
  -    expect(unit.scriptTag, isNull);
  -    expect(unit.directives, hasLength(0));
  -  }
  -
  -  void test_parseDirectives_mixed() {
  -    CompilationUnit unit =
  -        _parseDirectives("library l; class A {} part 'foo.dart';");
  -    expect(unit.scriptTag, isNull);
  -    expect(unit.directives, hasLength(1));
  -  }
  -
  -  void test_parseDirectives_multiple() {
  -    CompilationUnit unit = _parseDirectives("library l;\npart 'a.dart';");
  -    expect(unit.scriptTag, isNull);
  -    expect(unit.directives, hasLength(2));
  -  }
  -
  -  void test_parseDirectives_script() {
  -    CompilationUnit unit = _parseDirectives("#! /bin/dart");
  -    expect(unit.scriptTag, isNotNull);
  -    expect(unit.directives, hasLength(0));
  -  }
  -
  -  void test_parseDirectives_single() {
  -    CompilationUnit unit = _parseDirectives("library l;");
  -    expect(unit.scriptTag, isNull);
  -    expect(unit.directives, hasLength(1));
  -  }
  -
  -  void test_parseDirectives_topLevelDeclaration() {
  -    CompilationUnit unit = _parseDirectives("class A {}");
  -    expect(unit.scriptTag, isNull);
  -    expect(unit.directives, hasLength(0));
  -  }
  -
     void test_parseDocumentationComment_block() {
       createParser('/** */ class');
       Comment comment = parser
  
positive.code:     expectNotNullIfNoErrors(method);
      listener.assertNoErrors();
      expect(method.body, isNotNull);
      _expectCommentText(method.documentationComment, '/// Doc');
      expect(method.externalKeyword, isNull);
      expect(method.modifierKeyword, isNull);
      expect(method.name, isNotNull);
  
negative.code:     DottedName name = parser.parseDottedName();
      expectNotNullIfNoErrors(name);
      listener.assertNoErrors();
      expectDottedName(name, ["a", "b", "c"]);
    }
  
    void test_parseDottedName_single() {
  