anchor.diff:          ),
         );
   
  -      when(controls.canCopy(any)).thenReturn(false);
  -      when(controls.canPaste(any)).thenReturn(true);
  +      controls.testCanCopy = false;
  +      controls.testCanPaste = true;
         await _buildApp(controls, tester);
         await tester.pumpAndSettle();
         expect(
  
positive.code:   }
  }
  
  class MockTextSelectionControls extends Mock implements TextSelectionControls {
    @override
    Size getHandleSize(double textLineHeight) {
      return Size.zero;
  
negative.code:     testWidgets('can copy/cut/paste with a11y', (WidgetTester tester) async {
        final SemanticsTester semantics = SemanticsTester(tester);
  
        controls.testCanCopy = true;
        controls.testCanCut = true;
        controls.testCanPaste = true;
        await _buildApp(controls, tester);
        await tester.tap(find.byType(EditableText));
        await tester.pump();
  