### Question:
GeneralMessageCollector extends AbstractActivityCollector implements IGeneralMessageListener { @Handler @Override public void onInformationMessage(InformationMessage message) { ActivityItem item = ActivityItem.create() .setTitle(message.getTitle()) .setDescription(message.getDescription()); getActivityLogger().addActivityItem(item); } @Inject protected  GeneralMessageCollector(ActivityLogger activityLogger); @Handler @Override void onInformationMessage(InformationMessage message); @Handler @Override void onWarningMessage(WarningMessage message);  }### Answer:
@Test public void testOnInformationMessage() { InformationMessage msg = new InformationMessage("title", "description"); collector.onInformationMessage(msg); CollectorTestUtils.captureAddActivityItem(ActivityType.INFORMATION, activityLogger); }