@Test public void testGet_SpecializedAdapter() { assertThat(manager.get("special"), is(specializedAdapter)); }
@Override public VariableResolverAdapter get(String format) { return adaptersByFormat.getOrDefault(format, defaultAdapter); }
VariableResolverAdapterManagerImpl extends ComponentSupport implements VariableResolverAdapterManager { @Override public VariableResolverAdapter get(String format) { return adaptersByFormat.getOrDefault(format, defaultAdapter); } }
VariableResolverAdapterManagerImpl extends ComponentSupport implements VariableResolverAdapterManager { @Override public VariableResolverAdapter get(String format) { return adaptersByFormat.getOrDefault(format, defaultAdapter); } @Inject  VariableResolverAdapterManagerImpl(final Map<String, VariableResolverAdapter> adaptersByFormat); }
VariableResolverAdapterManagerImpl extends ComponentSupport implements VariableResolverAdapterManager { @Override public VariableResolverAdapter get(String format) { return adaptersByFormat.getOrDefault(format, defaultAdapter); } @Inject  VariableResolverAdapterManagerImpl(final Map<String, VariableResolverAdapter> adaptersByFormat); @Override VariableResolverAdapter get(String format); }
VariableResolverAdapterManagerImpl extends ComponentSupport implements VariableResolverAdapterManager { @Override public VariableResolverAdapter get(String format) { return adaptersByFormat.getOrDefault(format, defaultAdapter); } @Inject  VariableResolverAdapterManagerImpl(final Map<String, VariableResolverAdapter> adaptersByFormat); @Override VariableResolverAdapter get(String format);  }