anchor.diff:  
       testUsingContext('Bad ipa zip-file, no payload dir', () {
         globals.fs.file('app.ipa').createSync();
  -      when(os.unzip(globals.fs.file('app.ipa'), any)).thenAnswer((Invocation _) { });
         final PrebuiltIOSApp iosApp = IOSApp.fromPrebuiltApp(globals.fs.file('app.ipa')) as PrebuiltIOSApp;
         expect(iosApp, isNull);
         expect(
  
positive.code: import 'package:flutter_tools/src/ios/application_package.dart';
  import 'package:flutter_tools/src/ios/plist_parser.dart';
  import 'package:flutter_tools/src/project.dart';
  import 'package:mockito/mockito.dart';
  
  import '../src/common.dart';
  import '../src/context.dart';
  import '../src/fakes.dart';
  
  FakePlatform _kNoColorTerminalPlatform() => FakePlatform(stdoutSupportsAnsi: false);
  final Map<Type, Generator> noColorTerminalOverride = <Type, Generator>{
    Platform: _kNoColorTerminalPlatform,
  };
  
  class MockitoAndroidSdk extends Mock implements AndroidSdk {}
  class MockitoAndroidSdkVersion extends Mock implements AndroidSdkVersion {}
  
  void main() {
    group('Apk with partial Android SDK works', () {
      AndroidSdk sdk;
      FakeProcessManager fakeProcessManager;
      MemoryFileSystem fs;
      Cache cache;
  
negative.code:     }, overrides: overrides);
  
      testUsingContext('Licenses available, build tools available, does not call gradle dependencies', () async {
        final AndroidSdkVersion sdkVersion = FakeAndroidSdkVersion();
        sdk.latestVersion = sdkVersion;
  
        await ApplicationPackageFactory.instance.getPackageForPlatform(
          TargetPlatform.android_arm,
  