private void installChrome(int version) {
        // Chrome was still a Custom Tabs provider before Chrome 72.
        installCustomTabsProvider(CHROME);

        PackageInfo packageInfo = new PackageInfo();
        packageInfo.versionCode = version;
        packageInfo.packageName = CHROME;

        mShadowPackageManager.addPackage(packageInfo);
    }
Tests that if the user has a non-Chrome TWA provider as their default, we choose that.
customtabs/junit/src/android/support/customtabs/trusted/TwaProviderPickerTest.java