### Question:
SectionManager { public void resetDirtyIndicator(final Section<T> section) { originalHashCodes.put(section, section.currentHashCode()); updateDirtyIndicator(section); } @Inject  SectionManager(final MenuItemsListPresenter<T> menuItemsListPresenter,
                          final Promises promises,
                          final Elemental2DomUtil elemental2DomUtil); void init(final List<Section<T>> sections,
                     final HTMLElement menuItemsContainer,
                     final HTMLElement contentContainer); Promise<Void> goTo(final Section<T> section); Promise<Void> goToFirstAvailable(); Promise<Void> goToCurrentSection(); Promise<Object> validateAll(); void remove(final Section<T> section); Promise<Void> resetAllDirtyIndicators(); void resetDirtyIndicator(final Section<T> section); void updateDirtyIndicator(final Section<T> section); boolean manages(final Section<T> section); boolean isEmpty(); List<Section<T>> getSections(); Section<T> getCurrentSection(); boolean hasDirtySections();  }### Answer:
@Test public void testResetDirtyIndicator() { final Map<Section<ProjectScreenModel>, Integer> hashes = new HashMap<>(); final Section<ProjectScreenModel> section = newMockedSection(); doReturn(42).when(section).currentHashCode(); sectionManager.originalHashCodes = hashes; sectionManager.resetDirtyIndicator(section); assertEquals((Integer) 42, hashes.get(section)); verify(sectionManager).updateDirtyIndicator(eq(section)); }