[
https://issues.apache.org/jira/browse/NIFI-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Gilman resolved NIFI-126.
------------------------------
Resolution: Not A Problem
> Mock Framework should detect when session.create() called instead of
> session.create(FlowFile) / session.create(Collection<FlowFile>) without
> emitting CREATE/RECEIVE Provenance Event
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-126
> URL: https://issues.apache.org/jira/browse/NIFI-126
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Matt Gilman
> Assignee: Mark Payne
> Priority: Minor
> Fix For: 0.2.0
>
>
> In this case, the mock framework should throw AssertionError, indicating that
> session.create() was called but no CREATE/RECEIVE event was genrated.
> It is important that the Mock Framework also allow this check to be disabled,
> for processors such as MergeContent (and should indicate in the failure
> message how to disable).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)