boolean boolv = true;
Calendar datev = Calendar.getInstance();
int integerv = 1;
float realv = Float.parseFloat("1.69");
String textv = "TEXTCONTENT";
BooleanType bool = new BooleanType(parent, "test", "booleen", boolv);
DateType date = new DateType(parent, "test", "date", datev);
IntegerType integer = new IntegerType(parent, "test", "integer",
integerv);
RealType real = new RealType(parent, "test", "real", realv);
TextType text = new TextType(parent, "test", "text", textv);
Assert.assertEquals(bool.getNamespace(), bool.getElement()
.getNamespaceURI());
Assert.assertEquals(bool.getPrefix() + ":" + bool.getPropertyName(),
bool.getElement().getNodeName());
Assert.assertEquals(bool.getQualifiedName(), bool.getElement()
.getNodeName());
Assert.assertEquals(boolv, bool.getValue());
Assert.assertEquals(datev, date.getValue());
Assert.assertEquals(integerv, integer.getValue());
Assert.assertEquals(realv, real.getValue(), 0);
Assert.assertEquals(textv, text.getStringValue());