FragmentUtils { public static boolean willBeCustomAnimationsPlayed(@NonNull final Context context) { return !isPowerSaveModeActive(context) && areAnimationsEnabled(context); } private  FragmentUtils(); static boolean willBeCustomAnimationsPlayed(@NonNull final Context context); static boolean isPowerSaveModeActive(@NonNull final Context context); @SuppressWarnings("deprecation") static boolean areAnimationsEnabled(@NonNull final Context context); @SuppressLint("NewApi") @Nullable static Transition inflateTransition(@NonNull final Context context, @TransitionRes final int resource); @SuppressLint("NewApi") @Nullable static TransitionManager inflateTransitionManager(
			@NonNull final Context context,
			@TransitionRes final int resource,
			@NonNull final ViewGroup sceneRoot
	); @Nullable static Drawable getVectorDrawable(
			@NonNull final Resources resources,
			@DrawableRes final int resId,
			@Nullable final Resources.Theme theme
	); @SuppressWarnings({"NewApi", "deprecation"}) @Nullable static Drawable getDrawable(
			@NonNull final Resources resources,
			@DrawableRes final int resId,
			@Nullable final Resources.Theme theme
	);  }
@Test public void testWillBeCustomAnimationsPlayed() { assertThat(FragmentUtils.willBeCustomAnimationsPlayed(context), is(true)); }