### Question:
Utils { public static void shouldAllPositive(int... numbers) { for (int num : numbers) { if (num < 1) { throw new IllegalArgumentException("Number should be > 0"); } } }  static int toPositiveInt(String input); static void shouldAllPositive(int... numbers); static void shouldAllNonNegative(int... numbers);  }### Answer:
@Test public void shouldAllPositive() throws Exception { Utils.shouldAllPositive(1, 2, 3, 4); }
@Test(expected = IllegalArgumentException.class) public void shouldAllPositive2() throws Exception { Utils.shouldAllPositive(1, -2, 3, 4); }
@Test(expected = IllegalArgumentException.class) public void shouldAllPositive3() throws Exception { Utils.shouldAllPositive(1, 2, 0, 4); }
@Test public void shouldAllNonNegative2() throws Exception { Utils.shouldAllPositive(1, 2, 3, 4); }
@Test(expected = IllegalArgumentException.class) public void shouldAllNonNegative3() throws Exception { Utils.shouldAllPositive(1, -2, 3, 4); }