@SuppressWarnings("unchecked")
@Test
public void attributeToEmptySet() throws IllegalArgumentException, SecurityException, InstantiationException,
		IllegalAccessException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException {

	nu.xom.Element eAttr = new nu.xom.Element("attribute", SpecificationWriter.NS);
	eAttr.addAttribute(new nu.xom.Attribute("name", "test"));
	Set<String> strings = new HashSet<String>();
	eAttr.addAttribute(new nu.xom.Attribute("type", "SET"));
	System.out.println(eAttr.toXML());
	SpecificationReader reader = new SpecificationReader();
	Set<String> strings2 = (Set<String>) reader.toAttribute(eAttr);
	Assert.assertEquals(strings, strings2);
}