### Question:
XMLSymbolSettings { public boolean isExcluded(String uri) { if (excludedFiles == null) { return false; } for (XMLExcludedSymbolFile excludedFile : excludedFiles) { if(excludedFile.matches(uri)) { return true; } } return false; }  XMLExcludedSymbolFile[] getExcludedFiles(); boolean isEnabled(); void setEnabled(boolean enabled); String[] getExcluded(); void setExcluded(String[] excluded); boolean isExcluded(String uri); int getMaxItemsComputed(); void setMaxItemsComputed(int maxItemsComputed); void merge(XMLSymbolSettings newSettings);  }### Answer:
@Test public void isExcludedTest() { XMLSymbolSettings symbolSettings = new XMLSymbolSettings(); symbolSettings.setExcluded(new String[] {"***.xml"}); assertTrue(symbolSettings.isExcluded("file: assertTrue(symbolSettings.isExcluded("file: assertFalse(symbolSettings.isExcluded("file: }