### Question:
QuickLinksConfigurationModule extends BaseModule<QuickLinksConfigurationModule, QuickLinksConfigurationInfo> implements Validable { @Override public void addErrors(Collection<String> errors) { this.errors.addAll(errors); } QuickLinksConfigurationModule(File quickLinksConfigurationFile);  QuickLinksConfigurationModule(File quickLinksConfigurationFile, QuickLinksConfigurationInfo moduleInfo);  QuickLinksConfigurationModule(QuickLinksConfigurationInfo moduleInfo); @Override void resolve(QuickLinksConfigurationModule parent, Map<String, StackModule> allStacks, Map<String, ServiceModule> commonServices, Map<String, ExtensionModule> allExtensions); @Override QuickLinksConfigurationInfo getModuleInfo(); @Override boolean isDeleted(); @Override String getId(); @Override boolean isValid(); @Override void setValid(boolean valid); @Override void addError(String error); @Override void addErrors(Collection<String> errors); @Override Collection<String> getErrors(); static final String QUICKLINKS_CONFIGURATION_KEY; }### Answer:
@Test public void testAddErrors() { Set<String> errors = ImmutableSet.of("one error", "two errors"); QuickLinksConfigurationModule module = new QuickLinksConfigurationModule((File) null); module.addErrors(errors); assertEquals(errors, ImmutableSet.copyOf(module.getErrors())); }