code: public void addAttachment(final String name, final String type,
                                final String fileExtension, final byte[] body) {
          addAttachment(name, type, fileExtension, new ByteArrayInputStream(body));
      }
docs: Adds attachment into current test or step if any exists. Shortcut
  for {@link #addAttachment(String, String, String, InputStream)}
  
  @param name          the name of attachment
  @param type          the content type of attachment
  @param fileExtension the attachment file extension
  @param body          attachment content