Fixed MockPropertyValue to call the correct evaluateAttributeExpressions when FF is null
This closes
*/
package org.apache.nifi.util;
-import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
@@ -210,7 +209,7 @@ public class MockPropertyValue implements PropertyValue {
* raises an error which makes it not mimick real world behavior.
*/
if (flowFile == null) {
- return evaluateAttributeExpressions(new HashMap<>());
+ return evaluateAttributeExpressions(null, (Map<String,String>)null);
}
return evaluateAttributeExpressions(flowFile, null, null);
}
