@Test
public void testSome_negativeMinThrows() {

  try {
    Patterns.times(-1, 1, CharPredicates.ALWAYS);
    fail();
  } catch (IllegalArgumentException e) {
    assertEquals("min < 0", e.getMessage());
  }
}