AssertUtil { public static void isBetween(double value, double lowerBd, double upperBd, String message) { isTrue(lowerBd <= value && value <= upperBd, message); }  static void isTrue(boolean b, String message); static void isFalse(boolean b, String message); static void isNull(Object o, String message); static void notNull(Object o, String message); static void isEqual(int v1, int v2, String message); static void isStrictlyPositive(long value, String message); static void isBetween(double value, double lowerBd, double upperBd, String message);  }
@Test public void testIsBetween_trueValue() { isBetween(3.0, 0.0, 5.0, "Blah blah blah"); }
@Test(expected = IllegalArgumentException.class) public void testIsBetween_falseValue() { isBetween(-3.0, 0.0, 5.0, "Blah blah blah"); }