### Question:
BindableDefinitionSetAdapterImpl implements BindableDefinitionSetAdapter<T> { @Override public Set<String> getDefinitions(T pojo) { return bindings.getDefinitionIds(); } private  BindableDefinitionSetAdapterImpl(StunnerTranslationService translationService); static BindableDefinitionSetAdapterImpl<Object> create(StunnerTranslationService translationService); @Override void setBindings(Class<?> type, DefinitionSetAdapterBindings bindings); @Override String getId(T pojo); @Override String getDomain(T pojo); @Override String getDescription(T pojo); @Override Set<String> getDefinitions(T pojo); @Override @SuppressWarnings("all") Class<? extends ElementFactory> getGraphFactoryType(T pojo); @Override Annotation getQualifier(T pojo); @Override Optional<String> getSvgNodeId(T pojo); @Override boolean accepts(Class<?> type); @Override int getPriority();  }### Answer:
@Test public void testGetDefinitions() { Set<String> definitions = tested.getDefinitions(INSTANCE); assertEquals(2, definitions.size()); assertTrue(definitions.contains("def1")); assertTrue(definitions.contains("def2")); }