### Question:
BackendDefinitionSetAdapter extends AbstractReflectDefinitionSetAdapter<T> implements DefinitionSetAdapter<T> { @Override public Set<String> getDefinitions(final T definitionSet) { return getAnnotatedDefinitions(definitionSet); } @Inject  BackendDefinitionSetAdapter(final BackendDefinitionAdapter annotatedDefinitionAdapter); @Override boolean accepts(final Class<?> pojo); @Override Class<? extends ElementFactory> getGraphFactoryType(final T definitionSet); @Override Annotation getQualifier(final T definitionSet); @Override String getDescription(final T definitionSet); @Override Set<String> getDefinitions(final T definitionSet);  }### Answer:
@Test public void testGetDefinitions() { final Set<String> definitions = tested.getDefinitions(instance); assertEquals(1, definitions.size()); assertEquals(FooTestBean.class.getName(), definitions.iterator().next()); }