[ 
https://issues.apache.org/jira/browse/NIFI-4961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16395773#comment-16395773
 ] 

ASF GitHub Bot commented on NIFI-4961:
--------------------------------------

Github user kai5263499 commented on the issue:

    https://github.com/apache/nifi/pull/2533
  
    Yes, I have a grpc processor that allows binary data to be passed back and 
forth and I want to be able to write a unit test to verify the processor 
returns valid protobufs. I didn't see a way to do that with the current 
MockFlowFile class where setData is protected


> Allow data to be set on MockFlowFile
> ------------------------------------
>
>                 Key: NIFI-4961
>                 URL: https://issues.apache.org/jira/browse/NIFI-4961
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Glenn Widner
>            Priority: Minor
>
> While working on tests for a custom processor I noticed that the setData 
> method is private which makes it hard to test that my processor is handling 
> FlowFile content properly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to