### Question:
ItemMappingUpdater implements PredefinedMappingUpdater { @Override public void updateViewMappings(Collection<PredefinedPendingAttributesForView> viewMappings) { receiver.setItemPredefinedMappings(viewMappings); } ItemMappingUpdater(RequiresItemPredefinedMappings receiver); @Override void updateViewMappings(Collection<PredefinedPendingAttributesForView> viewMappings);  }### Answer:
@Test public void whenUpdateViewMappings_thenSetItemPredefinedPendingAttributesForViewGroupOnDataSetAdapterBuilder() { ItemMappingUpdater updater = new ItemMappingUpdater(dataSetAdapterBuilder); updater.updateViewMappings(viewMappings); verify(dataSetAdapterBuilder).setItemPredefinedMappings(viewMappings); }