@Test public void getReturnUrlScheme_returnsUrlSchemeUsingPackageNameFromContext() { String result = sut.getReturnUrlScheme(); assertEquals(result, "com.braintreepayments.browserswitch.test.browserswitch"); }
public String getReturnUrlScheme() { return returnUrlScheme; }
BrowserSwitchFragment extends Fragment implements BrowserSwitchListener { public String getReturnUrlScheme() { return returnUrlScheme; } }
BrowserSwitchFragment extends Fragment implements BrowserSwitchListener { public String getReturnUrlScheme() { return returnUrlScheme; }  }
BrowserSwitchFragment extends Fragment implements BrowserSwitchListener { public String getReturnUrlScheme() { return returnUrlScheme; }  @Override void onAttach(@NonNull Context context); @Override void onCreate(Bundle savedInstanceState); @Override void onResume(); String getReturnUrlScheme(); @SuppressWarnings("WeakerAccess") void browserSwitch(int requestCode, String url); @SuppressWarnings("WeakerAccess") void browserSwitch(int requestCode, Intent intent); void browserSwitch(BrowserSwitchOptions browserSwitchOptions); abstract void onBrowserSwitchResult(int requestCode, BrowserSwitchResult result, @Nullable Uri returnUri); }
BrowserSwitchFragment extends Fragment implements BrowserSwitchListener { public String getReturnUrlScheme() { return returnUrlScheme; }  @Override void onAttach(@NonNull Context context); @Override void onCreate(Bundle savedInstanceState); @Override void onResume(); String getReturnUrlScheme(); @SuppressWarnings("WeakerAccess") void browserSwitch(int requestCode, String url); @SuppressWarnings("WeakerAccess") void browserSwitch(int requestCode, Intent intent); void browserSwitch(BrowserSwitchOptions browserSwitchOptions); abstract void onBrowserSwitchResult(int requestCode, BrowserSwitchResult result, @Nullable Uri returnUri);  }