public static void checkArgument(boolean isValid, String message) throws IllegalArgumentException {
    if (!isValid) {
      throw new IllegalArgumentException(message);
    }
  }
@Test
  public void testCheckArgumentWithMoreThanThreeParams() {
    try {
      Preconditions.checkArgument(true, "Test message %s %s %s %s", 12, null, "column", true);
    } catch (IllegalArgumentException e) {
      Assert.fail("Should not throw exception when isValid is true");
    }

    try {
      Preconditions.checkArgument(false, "Test message %s %s %s %s", 12, null, "column", true);
      Assert.fail("Should throw exception when isValid is false");
    } catch (IllegalArgumentException e) {
      Assert.assertEquals("Should format message", "Test message 12 null column true", e.getMessage());
    }
  }