anchor.diff:      controller = MenuController();
       focusedMenu = null;
     });
  +
  +  Future<void> changeSurfaceSize(WidgetTester tester, Size size) async {
  +    await tester.binding.setSurfaceSize(size);
  +    addTearDown(() async {
  +      await tester.binding.setSurfaceSize(defaultSize);
  +    });
  +  }
   
     void listenForFocusChanges() {
       FocusManager.instance.addListener(handleFocusChange);
  
positive.code:   void handleFocusChange() {
      focusedMenu = primaryFocus?.debugLabel ?? primaryFocus?.toString();
    }
  
    setUp(() {
      focusedMenu = null;
  
negative.code:     });
  
      testWidgets('constrained menus show up in the right place in RTL', (WidgetTester tester) async {
        await changeSurfaceSize(tester, const Size(300, 300));
        await tester.pumpWidget(
          MaterialApp(
            home: Builder(
  