@Test
public void testSome_throwsForNegativeMinMax() {

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