### Question:
BindableDefinitionAdapterImpl implements BindableDefinitionAdapter<T> { @Override public String[] getPropertyFields(T pojo) { final List<String> fields = bindings.get(pojo.getClass()).getPropertiesFieldNames(); return null != fields ? fields.toArray(new String[fields.size()]) : new String[0]; } private  BindableDefinitionAdapterImpl(StunnerTranslationService translationService,
                                          BindableAdapterFunctions functions,
                                          Map<Class<?>, DefinitionAdapterBindings> bindings); static BindableDefinitionAdapterImpl<Object> create(StunnerTranslationService translationService,
                                                               BindableAdapterFunctions functions); static BindableDefinitionAdapterImpl<Object> create(StunnerTranslationService translationService,
                                                               BindableAdapterFunctions functions,
                                                               Map<Class<?>, DefinitionAdapterBindings> bindings); @Override void addBindings(Class<?> type, DefinitionAdapterBindings bindings); @Override DefinitionId getId(T pojo); @Override String getCategory(T pojo); @Override String getTitle(T pojo); @Override String getDescription(T pojo); @Override @SuppressWarnings("all") String[] getLabels(T pojo); @Override String[] getPropertyFields(T pojo); @Override Optional<?> getProperty(T pojo, String field); @Override String getMetaPropertyField(T pojo, PropertyMetaTypes type); @Override String getBaseType(Class<?> type); @Override String[] getTypes(String baseType); @Override Class<? extends ElementFactory> getGraphFactoryType(T pojo); @Override @SuppressWarnings("all") Class<? extends ElementFactory> getGraphFactory(Class<?> type); @Override boolean accepts(Class<?> type); @Override int getPriority();  }### Answer:
@Test public void testGetPropertyFields() { when(functions.getValue(eq(BEAN1), eq("nameField"))).thenReturn("nameValue"); when(functions.getValue(eq(BEAN1), eq("stringField"))).thenReturn("stringValue"); when(functions.getValue(eq(BEAN1), eq("propertyField"))).thenReturn("propertyValue"); String[] propertyFields = tested.getPropertyFields(BEAN1); assertArrayEquals(new String[]{"nameField", "stringField", "propertyField"}, propertyFields); }