@Test public void testNullDisallowedPropertyNames() { Set<String> disallowedNames = new HashSet<String>(); ioEditor.setDisallowedPropertyNames(null); verify(ioEditorView).setInputAssignmentsDisallowedNames(disallowedNames); }
public void setDisallowedPropertyNames(final List<String> disallowedPropertyNames) { Set<String> propertyNames = new HashSet<>(); if (disallowedPropertyNames != null) { for (String name : disallowedPropertyNames) { propertyNames.add(name.toLowerCase()); } } view.setInputAssignmentsDisallowedNames(propertyNames); }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDisallowedPropertyNames(final List<String> disallowedPropertyNames) { Set<String> propertyNames = new HashSet<>(); if (disallowedPropertyNames != null) { for (String name : disallowedPropertyNames) { propertyNames.add(name.toLowerCase()); } } view.setInputAssignmentsDisallowedNames(propertyNames); } }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDisallowedPropertyNames(final List<String> disallowedPropertyNames) { Set<String> propertyNames = new HashSet<>(); if (disallowedPropertyNames != null) { for (String name : disallowedPropertyNames) { propertyNames.add(name.toLowerCase()); } } view.setInputAssignmentsDisallowedNames(propertyNames); }  }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDisallowedPropertyNames(final List<String> disallowedPropertyNames) { Set<String> propertyNames = new HashSet<>(); if (disallowedPropertyNames != null) { for (String name : disallowedPropertyNames) { propertyNames.add(name.toLowerCase()); } } view.setInputAssignmentsDisallowedNames(propertyNames); }  @PostConstruct void init(); void setCallback(final GetDataCallback callback); @Override void handleOkClick(); @Override void handleCancelClick(); void setDataTypes(final List<String> dataTypes,
                             final List<String> dataTypeDisplayNames); void setAssignmentData(final AssignmentData assignmentData); void configureDialog(final String taskName,
                                final boolean hasInputVars,
                                final boolean isSingleInputVar,
                                final boolean hasOutputVars,
                                final boolean isSingleOutputVar); void setDisallowedPropertyNames(final List<String> disallowedPropertyNames); void setProcessVariables(final List<String> processVariables); void setInputAssignmentRows(final List<AssignmentRow> inputAssignmentRows); void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows); void setReadOnly(final boolean readOnly); void show(); @Override ListBoxValues.ValueTester dataTypesTester(); @Override ListBoxValues.ValueTester processVarTester(); }
ActivityDataIOEditor implements ActivityDataIOEditorView.Presenter { public void setDisallowedPropertyNames(final List<String> disallowedPropertyNames) { Set<String> propertyNames = new HashSet<>(); if (disallowedPropertyNames != null) { for (String name : disallowedPropertyNames) { propertyNames.add(name.toLowerCase()); } } view.setInputAssignmentsDisallowedNames(propertyNames); }  @PostConstruct void init(); void setCallback(final GetDataCallback callback); @Override void handleOkClick(); @Override void handleCancelClick(); void setDataTypes(final List<String> dataTypes,
                             final List<String> dataTypeDisplayNames); void setAssignmentData(final AssignmentData assignmentData); void configureDialog(final String taskName,
                                final boolean hasInputVars,
                                final boolean isSingleInputVar,
                                final boolean hasOutputVars,
                                final boolean isSingleOutputVar); void setDisallowedPropertyNames(final List<String> disallowedPropertyNames); void setProcessVariables(final List<String> processVariables); void setInputAssignmentRows(final List<AssignmentRow> inputAssignmentRows); void setOutputAssignmentRows(final List<AssignmentRow> outputAssignmentRows); void setReadOnly(final boolean readOnly); void show(); @Override ListBoxValues.ValueTester dataTypesTester(); @Override ListBoxValues.ValueTester processVarTester();  }