public static void checkGreater(
      long value1,
      String value1Name,
      long value2,
      String value2Name) {
    checkArgument(
        value1 > value2,
        "'%s' (%s) must be greater than '%s' (%s).",
        value1Name,
        value1,
        value2Name,
        value2);
  }
@Test
  public void testCheckGreater() throws Exception {
    // Should not throw.
    Validate.checkGreater(10, "arg1", 5, "arg2");

    // Verify it throws.

    intercept(IllegalArgumentException.class,
        "'arg1' (5) must be greater than 'arg2' (10)",
        () -> Validate.checkGreater(5, "arg1", 10, "arg2"));

  }