### Question:
StaticRenditionDispatcherImpl extends AbstractRenditionDispatcherImpl implements AssetRenditionDispatcher { @Override public Map<String, String> getOptions() { return assetRenditions.getOptions(mappings); }  @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 getOptions() { final Map<String, String> expected = ImmutableMap.<String, String>builder(). put("Foo", "foo"). put("Foo bar", "foo_bar"). put("Foo-bar", "foo-bar"). build(); ctx.registerInjectActivateService(new StaticRenditionDispatcherImpl(), ImmutableMap.<String, Object>builder(). put("rendition.mappings", new String[]{ "foo=foo value", "foo_bar=foo_bar value", "foo-bar=foo-bar value"}). build()); final AssetRenditionDispatcher assetRenditionDispatcher = ctx.getService(AssetRenditionDispatcher.class); final Map<String, String> actual = assetRenditionDispatcher.getOptions(); assertEquals(expected, actual); }