use of org.robobinding.viewattribute.grouped.GroupedViewAttributeBinderFactory in project RoboBinding by RoboBinding.
the class MockInitializedBindingAttributeMappingsBuilder method withAttributeGroup.
public MockInitializedBindingAttributeMappingsBuilder withAttributeGroup(String[] attributeGroup, final GroupedViewAttributeBinder viewAttributeBinder) {
attributeGroups.add(attributeGroup);
groupedViewAttributeBinderFactoryMap.put(attributeGroup, new GroupedViewAttributeBinderFactory(null, null, null) {
@Override
public GroupedViewAttributeBinder create(Object view, Map<String, String> presentAttributeMappings) {
return viewAttributeBinder;
}
});
return this;
}
Aggregations