@Test
public final void testIsFiltered() {
XSElementDecl filteredElement = new XSElementDecl();
filteredElement.fTargetNamespace = "http://test/filtered";
filteredElement.fName = "filteredElement";
XSNamespaceItem filteredNs = filteredElement.getNamespaceItem();
boolean result = testee.addNamespace("http://test/filtered");
Assert.assertTrue(result);
result = testee.isFiltered(filteredElement);
Assert.assertTrue(result);
XSElementDecl element = new XSElementDecl();
element.fTargetNamespace = "http://test/not-filtered";
element.fName = "unFilteredElement";
XSNamespaceItem ns = filteredElement.getNamespaceItem();
result = testee.isFiltered(element);
Assert.assertFalse(result);
}