code: public static void setProperties(ArgumentUnit argumentUnit, Properties properties)
              throws IllegalArgumentException
      {
          if (argumentUnit == null) {
              throw new IllegalArgumentException("argumentUnit is null");
          }
  
          if (properties == null) {
              throw new IllegalArgumentException("properties is null");
          }
  
          argumentUnit.setProperties(propertiesToString(properties));
      }
docs: Sets the given properties to the argumentUnit (into the {@code properties} field).
  
  @param argumentUnit argumentUnit
  @param properties   properties
  @throws IllegalArgumentException if params are null