### Question:
ThemeModule extends BaseModule<ThemeModule, ThemeInfo> implements Validable { @Override public void addErrors(Collection<String> errors) { this.errors.addAll(errors); } ThemeModule(File themeFile);  ThemeModule(File themeFile, ThemeInfo moduleInfo);  ThemeModule(ThemeInfo moduleInfo); @Override void resolve(ThemeModule parent, Map<String, StackModule> allStacks,
		  Map<String, ServiceModule> commonServices, Map<String, ExtensionModule> extensions); @Override ThemeInfo 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 THEME_KEY; }### Answer:
@Test public void testAddErrors() { Set<String> errors = ImmutableSet.of("one error", "two errors"); ThemeModule module = new ThemeModule((File) null); module.addErrors(errors); assertEquals(errors, ImmutableSet.copyOf(module.getErrors())); }