  @Test
  public void testShippingSummary() {

    final Reward rewardWithNullShipping = RewardFactory.reward()
      .toBuilder()
      .shippingType(null)
      .build();
    assertNull(RewardUtils.shippingSummary(rewardWithNullShipping));

    final Reward rewardWithNoShipping = RewardFactory.reward();
    assertNull(RewardUtils.shippingSummary(rewardWithNoShipping));

    final Reward rewardWithMultipleLocationShipping = RewardFactory.multipleLocationShipping();
    assertEquals(Pair.create(R.string.Limited_shipping, null), RewardUtils.shippingSummary(rewardWithMultipleLocationShipping));

    final Reward rewardWithSingleLocationShipping = RewardFactory.singleLocationShipping(LocationFactory.nigeria().displayableName());
    assertEquals(Pair.create(R.string.location_name_only, "Nigeria"), RewardUtils.shippingSummary(rewardWithSingleLocationShipping));

    final Reward rewardWithWorldWideShipping = RewardFactory.rewardWithShipping();
    assertEquals(Pair.create(R.string.Ships_worldwide, null), RewardUtils.shippingSummary(rewardWithWorldWideShipping));
  }