anchor.diff:        {List<String> included = const <String>[],
         int preferredPort,
         String summaryPath}) {
  -    if (cli.injectArtificialException) {
  +    if (cli._test.injectArtificialException) {
         return _ExceptionGeneratingNonNullableFix(
             listener, resourceProvider, getLineInfo,
             included: included,
  
positive.code:   test_lifecycle_exception_handling_ignore() async {
      var projectContents = simpleProject(sourceText: 'main() { print(0); }');
      var projectDir = await createProjectDir(projectContents);
      var cli = _createCli(injectArtificialException: true);
      await runWithPreviewServer(cli, ['--ignore-exceptions', projectDir],
          (url) async {
        var output = logger.stdoutBuffer.toString();
  
negative.code:     var projectContents =
          simpleProject(sourceText: 'main() { print(0); print(1); }');
      var projectDir = await createProjectDir(projectContents);
      injectArtificialException = true;
      await assertRunFailure([projectDir]);
      var errorOutput = logger.stderrBuffer.toString();
      expect(
          'Artificial exception triggered'.allMatches(errorOutput), hasLength(1));
  