### Question:
ContentPane extends HBox { @EventListener(priority = Integer.MIN_VALUE) @SuppressWarnings("unused") public void onSetActiveDashboardItem(SetActiveDashboardItemRequest request) { dashboard.setVisible(true); modules.setVisible(false); } @Inject  ContentPane(WorkArea modules, Dashboard dashboard, NewsPanel news,
            @Named("defaultDashboardItemId") String defaultDasboardItem); @EventListener(priority = Integer.MIN_VALUE) @SuppressWarnings("unused") void onSetActiveModule(SetActiveModuleRequest request); @EventListener(priority = Integer.MIN_VALUE) @SuppressWarnings("unused") void onSetActiveDashboardItem(SetActiveDashboardItemRequest request); @EventListener(priority = Integer.MIN_VALUE) @SuppressWarnings("unused") void onShowNewsPanel(ShowNewsPanelRequest request); @EventListener(priority = Integer.MIN_VALUE) @SuppressWarnings("unused") void onHideNewsPanel(HideNewsPanelRequest request);  }### Answer:
@Test public void onSetActiveDashboardItem() { injector.instance(ContentPane.class).onSetActiveDashboardItem(new SetActiveDashboardItemRequest("id")); assertTrue(injector.instance(Dashboard.class).isVisible()); assertFalse(injector.instance(WorkArea.class).isVisible()); }