@Test public void shouldRemovedBlurredLayerFromActivity() { mDialogWithBlurredBackgroundLauncher.showDialog(dialog); dialog.dismiss(); View blurLayer = exampleActivity.findViewById(R.id.blurLayer); assertThat(blurLayer).isNull(); }
public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } DialogWithBlurredBackgroundLauncher(Activity activity); }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } DialogWithBlurredBackgroundLauncher(Activity activity); static void showDialog(Activity activity, Dialog dialog); Dialog showDialog(Dialog dialog); @Override void onBlurringFinish(Bitmap blurredImage); }
DialogWithBlurredBackgroundLauncher implements BlurringImageListener { public static void showDialog(Activity activity, Dialog dialog) { new DialogWithBlurredBackgroundLauncher(activity).showDialog(dialog); } DialogWithBlurredBackgroundLauncher(Activity activity); static void showDialog(Activity activity, Dialog dialog); Dialog showDialog(Dialog dialog); @Override void onBlurringFinish(Bitmap blurredImage);  }