@Before public void setUp() { super.setUp(); tested = new BackendBindableDefinitionAdapter(utils); tested.setBindings(metaPropertyTypeClasses, baseTypes, propertySetsFieldNames, propertiesFieldNames, propertyGraphFactoryFieldNames, propertyIdFieldNames, propertyLabelsFieldNames, propertyTitleFieldNames, propertyCategoryFieldNames, propertyDescriptionFieldNames, propertyNameFields); propertyNameFields.put(instance.getClass(), FooTestBean.FOO_PROPERTY_NAME); propertiesFieldNames.put(instance.getClass(), Stream.of(FooTestBean.FOO_PROPERTY_NAME).collect(Collectors.toSet())); }