@Test public void testIsShippable() { final Backing backingWithShipping = BackingFactory.backing().toBuilder() .reward(RewardFactory.rewardWithShipping()) .build(); assertTrue(BackingUtils.isShippable(backingWithShipping)); assertFalse(BackingUtils.isShippable(BackingFactory.backing())); }
public static boolean isShippable(final @NonNull Backing backing) { final Reward reward = backing.reward(); if (reward == null) { return false; } return RewardUtils.isShippable(reward); }
BackingUtils { public static boolean isShippable(final @NonNull Backing backing) { final Reward reward = backing.reward(); if (reward == null) { return false; } return RewardUtils.isShippable(reward); } }
BackingUtils { public static boolean isShippable(final @NonNull Backing backing) { final Reward reward = backing.reward(); if (reward == null) { return false; } return RewardUtils.isShippable(reward); } private  BackingUtils(); }
BackingUtils { public static boolean isShippable(final @NonNull Backing backing) { final Reward reward = backing.reward(); if (reward == null) { return false; } return RewardUtils.isShippable(reward); } private  BackingUtils(); static boolean isBacked(final @NonNull Project project, final @NonNull Reward reward); static boolean isErrored(final @Nullable Backing backing); static boolean isShippable(final @NonNull Backing backing); static @Nullable Reward backedReward(final @NonNull Project project); }
BackingUtils { public static boolean isShippable(final @NonNull Backing backing) { final Reward reward = backing.reward(); if (reward == null) { return false; } return RewardUtils.isShippable(reward); } private  BackingUtils(); static boolean isBacked(final @NonNull Project project, final @NonNull Reward reward); static boolean isErrored(final @Nullable Backing backing); static boolean isShippable(final @NonNull Backing backing); static @Nullable Reward backedReward(final @NonNull Project project);  }