@Override
 @Test
 public void collectFloat() {
   MutableBag<Integer> integers = UnmodifiableBag.of(HashBag.newBagWith(1, 2, 2, 3, 3, 3));
   Assert.assertEquals(
       FloatHashBag.newBagWith(1.0f, 2.0f, 2.0f, 3.0f, 3.0f, 3.0f),
       integers.collectFloat(PrimitiveFunctions.unboxIntegerToFloat()));
 }
 @Test
 public void collectFloat() {
   ImmutableCollection<Integer> integers = this.classUnderTest();
   ImmutableFloatCollection immutableCollection =
       integers.collectFloat(PrimitiveFunctions.unboxIntegerToFloat());
   Verify.assertSize(integers.size(), immutableCollection);
   Assert.assertEquals(
       integers,
       immutableCollection.collect(floatParameter -> Integer.valueOf((int) floatParameter)));
 }