@Test
public void testEmptyCase() {

  assertFalse(new SamplingLongPrimitiveIterator(
      countingIterator(0), 0.9999).hasNext());
  assertFalse(new SamplingLongPrimitiveIterator(
      countingIterator(0), 1).hasNext());
}