@Test public void getRowsCount() { final int rowsCount = tested.getRowsCount(); assertThat(rowsCount).isEqualTo(list.getValue().size()); }
@Override public int getRowsCount() { return Optional.ofNullable(getRows()).map(List::size).orElse(0); }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public int getRowsCount() { return Optional.ofNullable(getRows()).map(List::size).orElse(0); } }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public int getRowsCount() { return Optional.ofNullable(getRows()).map(List::size).orElse(0); } RolesEditorWidgetViewImpl(); }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public int getRowsCount() { return Optional.ofNullable(getRows()).map(List::size).orElse(0); } RolesEditorWidgetViewImpl(); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override void notifyModelChanged(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getRowsCount(); @Override void setRows(final List<KeyValueRow> rows); @Override List<KeyValueRow> getRows(); @Override RolesListItemWidgetView getWidget(int index); @Override void remove(final KeyValueRow row); @Override boolean isDuplicateName(String name); }
RolesEditorWidgetViewImpl extends Composite implements RolesEditorWidgetView,
                                                                    HasValue<String> { @Override public int getRowsCount() { return Optional.ofNullable(getRows()).map(List::size).orElse(0); } RolesEditorWidgetViewImpl(); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String value,
                         final boolean fireEvents); @Override void doSave(); @Override void notifyModelChanged(); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); @Override void init(final Presenter presenter); @Override void setReadOnly(final boolean readOnly); @Override int getRowsCount(); @Override void setRows(final List<KeyValueRow> rows); @Override List<KeyValueRow> getRows(); @Override RolesListItemWidgetView getWidget(int index); @Override void remove(final KeyValueRow row); @Override boolean isDuplicateName(String name);  }