@Test public void testSetCurrentUUID() { final String expectedPreviousUUID = "123"; final String expectedCurrentUUID = "456"; view.setCurrentUUID(expectedPreviousUUID); view.setCurrentUUID(expectedCurrentUUID); final String actualPreviousUUID = view.getPreviousUUID(); final String actualCurrentUUID = view.getCurrentUUID(); assertEquals(expectedPreviousUUID, actualPreviousUUID); assertEquals(expectedCurrentUUID, actualCurrentUUID); }
void setCurrentUUID(final String currentUUID) { this.previousUUID = this.currentUUID; this.currentUUID = currentUUID; }
DataTypeListShortcutsView implements DataTypeListShortcuts.View { void setCurrentUUID(final String currentUUID) { this.previousUUID = this.currentUUID; this.currentUUID = currentUUID; } }
DataTypeListShortcutsView implements DataTypeListShortcuts.View { void setCurrentUUID(final String currentUUID) { this.previousUUID = this.currentUUID; this.currentUUID = currentUUID; } @Inject  DataTypeListShortcutsView(final ScrollHelper scrollHelper); }
DataTypeListShortcutsView implements DataTypeListShortcuts.View { void setCurrentUUID(final String currentUUID) { this.previousUUID = this.currentUUID; this.currentUUID = currentUUID; } @Inject  DataTypeListShortcutsView(final ScrollHelper scrollHelper); void init(final DataTypeListShortcuts presenter); @Override Optional<Element> getFirstDataTypeRow(); @Override Optional<Element> getNextDataTypeRow(); @Override Optional<Element> getPrevDataTypeRow(); @Override Optional<DataTypeListItem> getCurrentDataTypeListItem(); @Override List<DataTypeListItem> getVisibleDataTypeListItems(); @Override void highlight(final Element element); @Override void focusIn(); void reset(); }
DataTypeListShortcutsView implements DataTypeListShortcuts.View { void setCurrentUUID(final String currentUUID) { this.previousUUID = this.currentUUID; this.currentUUID = currentUUID; } @Inject  DataTypeListShortcutsView(final ScrollHelper scrollHelper); void init(final DataTypeListShortcuts presenter); @Override Optional<Element> getFirstDataTypeRow(); @Override Optional<Element> getNextDataTypeRow(); @Override Optional<Element> getPrevDataTypeRow(); @Override Optional<DataTypeListItem> getCurrentDataTypeListItem(); @Override List<DataTypeListItem> getVisibleDataTypeListItems(); @Override void highlight(final Element element); @Override void focusIn(); void reset();  }