@Test
    public void choosesDefaultOverChrome() {
        installTrustedWebActivityProvider(TWA_PROVIDER1);
        installChrome(CHROME_72_VERSION);

        TwaProviderPicker.Action action = TwaProviderPicker.pickProvider(mPackageManager);

        assertEquals(LaunchMode.TRUSTED_WEB_ACTIVITY, action.launchMode);
        assertEquals(TWA_PROVIDER1, action.provider);
    }
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