code: public List<Command> putToMap(final UUID mapId, final Object key, final Object value) {
          final State state = createCommandList(new WithCommandType() {
              @Override
              public void invoke(final State state) {
                  putToMap(mapId, key, value, state);
              }
          }, true);
          return state.commands;
      }
docs: Creates the list with commands necessary to put a mapping into a map.
  
  @param mapId
  the id of the map where the mapping should be added.
  @param key
  the key of the new mapping.
  @param value
  the value of the new mapping.
  @return the list with the commands.