hunk.code_window:     expect(fileString).not.toContain('canActivateChild');
       expect(fileString).not.toContain('CanLoad');
       expect(fileString).not.toContain('canLoad');
     });
     it('should respect the guardType value', async () => {
       const options = { ...defaultOptions, guardType: 'canActivate' };
       const tree = await schematicRunner.runSchematicAsync('guard', options, appTree).toPromise();
       const fileString = tree.readContent('/projects/bar/src/app/foo.guard.ts');
       expect(fileString).toContain('export const fooGuard: CanActivateFn = (route, state) => {');
       expect(fileString).not.toContain('CanActivateChild');
  
hunk.labels: keep keep keep keep keep replace replace keep keep keep keep
hunk.after_edit:   it('should respect the functional guard value', async () => {
       const options = { ...defaultOptions, implements: ['CanActivate'], functional: true };
  
hunk.file_path: packages/schematics/angular/guard/index_spec.ts
hunk.type: replace
file: ## API Report File for "@angular-devkit/schematics_testing"
  
  > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
  
  ```ts
  
  /// <reference types="node" />
  
  import { JsonValue } from '@angular-devkit/core';
  import { logging } from '@angular-devkit/core';
  import { Observable } from 'rxjs';
  import { Path } from '@angular-devkit/core';
  import { PathFragment } from '@angular-devkit/core';
  import { Url } from 'url';
  
  // @public (undocumented)
  export class SchematicTestRunner {
      constructor(_collectionName: string, collectionPath: string);
      // (undocumented)
      callRule(rule: Rule, tree: Tree_2, parentContext?: Partial<SchematicContext>): Observable<Tree_2>;
      // (undocumented)
      get engine(): SchematicEngine<{}, {}>;
      // (undocumented)
      get logger(): logging.Logger;
      // (undocumented)
      registerCollection(collectionName: string, collectionPath: string): void;
      // (undocumented)
      runExternalSchematicAsync<SchematicSchemaT extends object>(collectionName: string, schematicName: string, opts?: SchematicSchemaT, tree?: Tree_2): Observable<UnitTestTree>;
      // (undocumented)
      runSchematicAsync<SchematicSchemaT extends object>(schematicName: string, opts?: SchematicSchemaT, tree?: Tree_2): Observable<UnitTestTree>;
      // (undocumented)
      get tasks(): TaskConfiguration[];
  }
  
  // @public (undocumented)
  export class UnitTestTree extends DelegateTree {
      // (undocumented)
      get files(): string[];
      // (undocumented)
      readContent(path: string): string;
  }
  
  // (No @packageDocumentation comment for this package)
  
  ```
  