### Question:
NodeManagerCollector extends AbstractActivityCollector implements INodeMessageListener { @Inject protected NodeManagerCollector(ActivityLogger activityLogger) { super(activityLogger); } @Inject protected  NodeManagerCollector(ActivityLogger activityLogger); @Handler @Override void onNodeConnected(NodeConnectMessage message); @Handler @Override void onNodeDisconnected(NodeDisconnectMessage message);  }### Answer:
@Test public void testNodeManagerCollector() { assertEquals(collector.getActivityLogger(), activityLogger); }