@Test
public void testSome_minBiggerThanMaxThrows() {

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