code: @NullSafe
    @SuppressWarnings("all")
    public static String pad(String value, char padding, int length) {
  
      assertThat(length).throwing(new IllegalArgumentException(String.format(
        "[%d] must be greater than equal to 0", length))).isGreaterThanEqualTo(0);
  
      if (length > 0) {
  
        StringBuilder builder = new StringBuilder(ObjectUtils.defaultIfNull(value, EMPTY_STRING));
  
        while (length - builder.length() > 0) {
          builder.append(padding);
        }
  
        return builder.toString();
      }
  
      return value;
    }
docs: Pads the given String with the specified number of characters to the right.
  
  @param value the String to pad.
  @param padding the character used for padding.
  @param length the total length of the given String with padding.
  @return the given String padded with the specified character up to the specified length.
  @throws IllegalArgumentException if length is less than 0.