### Question:
StaticRenditionDispatcherImpl extends AbstractRenditionDispatcherImpl implements AssetRenditionDispatcher { @Override public String getName() { return cfg.name(); }  @Override String getLabel(); @Override String getName(); @Override Map<String, String> getOptions(); @Override boolean isHidden(); @Override Set<String> getRenditionNames(); @Override List<String> getTypes(); @Override void dispatch(SlingHttpServletRequest request, SlingHttpServletResponse response);  }### Answer:
@Test public void getName() { final String expected = "test"; ctx.registerInjectActivateService(new StaticRenditionDispatcherImpl(), "name", "test"); final AssetRenditionDispatcher assetRenditionDispatcher = ctx.getService(AssetRenditionDispatcher.class); final String actual = assetRenditionDispatcher.getName(); assertEquals(expected, actual); }