@Test
public void ioParameterRangeInt() throws IllegalArgumentException, SecurityException, InstantiationException,
		IllegalAccessException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException {

	ParameterRangeDiscrete parameter = new ParameterRangeDiscrete(4, 2, 9);
	SpecificationWriter specificationWriter = new SpecificationWriter();
	nu.xom.Element element = specificationWriter.toElement("test", parameter);
	Assert.assertNotNull(element);
	SpecificationReader specificationReader = new SpecificationReader();
	ParameterRangeDiscrete parameter2 = (ParameterRangeDiscrete) specificationReader.toAttribute(element);
	Assert.assertEquals(parameter.getLowerBound(), parameter2.getLowerBound());
	Assert.assertEquals(parameter.getUpperBound(), parameter2.getUpperBound());
	Assert.assertEquals(parameter.getValue(), parameter2.getValue());
}