[
https://issues.apache.org/jira/browse/NIFI-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Netanel Bitan resolved NIFI-4233.
---------------------------------
Resolution: Not A Bug
> MockFlowFile#getData is not public
> ----------------------------------
>
> Key: NIFI-4233
> URL: https://issues.apache.org/jira/browse/NIFI-4233
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Netanel Bitan
> Priority: Trivial
>
> Function
> [MockFlowFile#getData|https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/MockFlowFile.java#L146]
> is not public.
> There is no documentation to this function so I can`t know if there is a good
> reason to that.
> I would like to test the data of the file when I test my Processor, and if I
> want to make a complex logic in my test it will be easier with the data
> itself and not something like
> [assertContentEquals|https://github.com/apache/nifi/blob/master/nifi-mock/src/main/java/org/apache/nifi/util/MockFlowFile.java#L243].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)