RendererManager { public RendererLibrary getRendererByUUID(String renderer) { return getRendererByOrThrowError(renderer, lib -> lib.getUUID().equals(renderer)); } 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 rendererByUUIDTest() { assertNotNull(rendererManager.getRendererByUUID(REND1_UUID)); }
@Test(expected=RuntimeException.class) public void rendererByUUIDNotFoundTest() { assertNotNull(rendererManager.getRendererByUUID("NO UUID")); }