NIFI-904 mock controller service fix

Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
Mike Moser 2015-08-27 23:15:43 -04:00 committed by joewitt
parent d39848f06e
commit 85cb5dd1e7
1 changed files with 1 additions and 0 deletions

View File

@ -534,6 +534,7 @@ public class StandardProcessorTestRunner implements TestRunner {
final ComponentLog logger = new MockProcessorLog(identifier, service);
final MockControllerServiceInitializationContext initContext = new MockControllerServiceInitializationContext(requireNonNull(service), requireNonNull(identifier), logger);
initContext.addControllerServices(context);
service.initialize(initContext);
final Map<PropertyDescriptor, String> resolvedProps = new HashMap<>();