public void addAttachment ( final String name , final String type , final String fileExtension , final InputStream stream ) { writeAttachment ( prepareAttachment ( name , type , fileExtension ) , stream ) ; }
Adds attachment to current running test or step .