public void addAttachment( Attachment attachment ) {
        if( attachments == null ) {
            attachments = Lists.newArrayList();
        }
        AttachmentModel attachmentModel = new AttachmentModel();
        attachmentModel.setTitle( attachment.getTitle() );
        attachmentModel.setValue( attachment.getContent() );
        attachmentModel.setFileName( attachment.getFileName() );
        attachmentModel.setMediaType( attachment.getMediaType().asString() );
        attachmentModel.setIsBinary( attachment.getMediaType().isBinary() );
        attachmentModel.setShowDirectly( attachment.getShowDirectly() );
        attachments.add( attachmentModel );
    }
Indicates if the parent step has failed.
jgiven-core/src/main/java/com/tngtech/jgiven/report/model/StepModel.java