anchor.diff:    testUsingContext('Failed DDS start outputs error message', () => testbed.run(() async {
       // See https://github.com/flutter/flutter/issues/72385 for context.
       fakeVmServiceHost = FakeVmServiceHost(requests: <VmServiceExpectation>[]);
  -    final MockDevice mockDevice = MockDevice();
  -    when(mockDevice.dds).thenReturn(DartDevelopmentService(logger: testLogger));
  +    final FakeDevice mockDevice = FakeDevice()
  +      ..dds = DartDevelopmentService(logger: testLogger);
       ddsLauncherCallback = (Uri uri, {bool enableAuthCodes, bool ipv6, Uri serviceUri}) {
         throw FakeDartDevelopmentServiceException(message: 'No URI');
       };
  
positive.code:       debuggingOptions: DebuggingOptions.enabled(BuildInfo.debug),
        target: 'main.dart',
      );
      when(mockDevice.sdkNameAndVersion).thenAnswer((Invocation invocation) async {
        return 'Example';
      });
      when(mockDevice.targetPlatform).thenAnswer((Invocation invocation) async {
        return TargetPlatform.android_arm;
      });
      when(mockDevice.isLocalEmulator).thenAnswer((Invocation invocation) async {
        return false;
      });
      when(mockDevice.getLogReader(app: anyNamed('app'))).thenReturn(NoOpDeviceLogReader('test'));
      when(mockDevFS.update(
        mainUri: anyNamed('mainUri'),
        target: anyNamed('target'),
  
negative.code:         },
        ),
      ]);
      final Completer<DebugConnectionInfo> onConnectionInfo = Completer<DebugConnectionInfo>.sync();
      final Completer<void> onAppStart = Completer<void>.sync();
      unawaited(residentRunner.attach(
  