@Test(expected = ReaperException.class)
public void testZeroSizeRange() throws Exception {

  List<String> tokenStrings = Lists.newArrayList(
      "0",
      "1",
      "56713727820156410577229101238628035242",
      "56713727820156410577229101238628035242",
      "113427455640312821154458202477256070484",
      "113427455640312821154458202477256070485");
  List<BigInteger> tokens = Lists.transform(tokenStrings, (String string) -> new BigInteger(string));
  SegmentGenerator generator = new SegmentGenerator("foo.bar.RandomPartitioner");
  generator.generateSegments(10, tokens, Boolean.FALSE, Maps.newHashMap(), "2.2.10");
}