code: public static ArgumentValidator atMost(final int expectedMax) {
          switch (expectedMax) {
              case 0:
                  return NO_ARGUMENTS;
              case 1:
                  return _AT_MOST_ONE;
              case 2:
                  return _AT_MOST_TWO;
          }
          return atMost(expectedMax, MessageFormat.format("0..{0}", expectedMax));
      }
docs: Creates a {@link ArgumentValidator} which checks for _#arguments <= expectedMax_
  
  @param expectedMax the maximum number of expected arguments
  @return the TooManyArgumentsValidator