anchor.diff:  
       group('unified logging', () {
         testUsingContext('log reader handles escaped multiline messages', () async {
  -        when(mockProcessManager.start(any, environment: null, workingDirectory: null))
  -          .thenAnswer((Invocation invocation) {
  -          final Process mockProcess = MockProcess();
  -          when(mockProcess.stdout)
  -            .thenAnswer((Invocation invocation) {
  -            return Stream<List<int>>.fromIterable(<List<int>>['''
  +        const String logPredicate = 'eventType = logEvent AND processImagePath ENDSWITH "Runner" '
  +          'AND (senderImagePath ENDSWITH "/Flutter" OR senderImagePath ENDSWITH "/libswiftCore.dylib" '
  +          'OR processImageUUID == senderImageUUID) AND NOT(eventMessage CONTAINS ": could not find icon '
  +          'for representation -> com.apple.") AND NOT(eventMessage BEGINSWITH "assertion failed: ") '
  +          'AND NOT(eventMessage CONTAINS " libxpc.dylib ")';
  +        fakeProcessManager.addCommand(const FakeCommand(
  +            command:  <String>[
  +              '/usr/bin/xcrun',
  +              'simctl',
  +              'spawn',
  +              '123456',
  +              'log',
  +              'stream',
  +              '--style',
  +              'json',
  +              '--predicate',
  +              logPredicate,
  +            ],
  +            stdout: '''
   },{
     "traceID" : 37579774151491588,
     "eventMessage" : "Single line message",
  
positive.code:   });
  
    group('log reader', () {
      MockProcessManager mockProcessManager;
      MockIosProject mockIosProject;
      MockSimControl mockSimControl;
      MockXcode mockXcode;
  
      setUp(() {
        mockProcessManager = MockProcessManager();
        mockIosProject = MockIosProject();
        mockSimControl = MockSimControl();
        mockXcode = MockXcode();
  
negative.code:   "eventType" : "logEvent"
  },{
  '''
            ));
  
          final IOSSimulator device = IOSSimulator(
            '123456',
  