### Question:
RuleFlowGroupDataService { @Inject public RuleFlowGroupDataService(final RuleFlowGroupQueryService queryService, final Event<RuleFlowGroupDataEvent> dataChangedEvent) { this.queryService = queryService; this.dataChangedEvent = dataChangedEvent; } @Inject  RuleFlowGroupDataService(final RuleFlowGroupQueryService queryService,
                                    final Event<RuleFlowGroupDataEvent> dataChangedEvent); List<RuleFlowGroup> getRuleFlowGroupNames();  }### Answer:
@Test public void testRuleFlowGroupDataService() { RuleFlowGroupDataService tested = spy(new RuleFlowGroupDataService(queryService, dataChangedEvent)); tested.onRequestRuleFlowGroupDataEvent(new RequestRuleFlowGroupDataEvent()); verify(tested).fireData(); }