	@Test
	public void testCreateFilterNode() throws Exception{

		WebXmlIntegrator web = new WebXmlIntegrator();
		Document doc = createEmptyDocument();
		Node n = web.createFilterNode(doc);
		doc.appendChild(n);
		
		String expected = " <filter><filter-name>infrared</filter-name>"+
						  "<filter-class>"+WebXmlIntegrator.FILTER_CLASS+"</filter-class>"+
			              "</filter>";
		Document expDoc = XMLUnit.buildControlDocument(expected);
		
		assertXMLEqual(expDoc,doc);
	}