RendererManager { public RendererLibrary getDefaultRenderer(DisplayerType displayerType) { return renderersDefault.get(displayerType); } RendererManager(); @Inject  RendererManager(SyncBeanManager beanManager, Caller<RendererSettingsService> rendererSettingsService); List<RendererLibrary> getRenderers(); RendererLibrary getDefaultRenderer(DisplayerType displayerType); void setDefaultRenderer(DisplayerType displayerType, String rendererName); List<RendererLibrary> getRenderersForType(DisplayerType displayerType); List<RendererLibrary> getRenderersForType(DisplayerType type, DisplayerSubType subType); RendererLibrary getRendererByUUID(String renderer); RendererLibrary getRendererByName(String renderer); RendererLibrary getRendererForType(DisplayerType displayerType); RendererLibrary getRendererForDisplayer(DisplayerSettings target); boolean isTypeSupported(DisplayerType type);  }
@Test public void defaultRendererTest() { assertNotNull(rendererManager.getDefaultRenderer(BARCHART)); assertNull(rendererManager.getDefaultRenderer(LINECHART)); }