}
public void testSetAndGetValue() throws Exception {
String valString = "-1";
int valInt = -1;
Attribute testAttribute = vendor.makeAttribute("testAttribute");
testAttribute.setValue(null);
assertNull(testAttribute.getValue());
assertFalse(valString.equals(testAttribute.getValue()));
assertFalse(Integer.valueOf(valInt).equals(testAttribute.getValue()));
testAttribute.setValue(valString);
assertNotNull(testAttribute.getValue());
assertEquals(valString, testAttribute.getValue());
assertFalse(Integer.valueOf(valInt).equals(testAttribute.getValue()));
testAttribute.setValue(valInt);
assertNotNull(testAttribute.getValue());
assertFalse(valString.equals(testAttribute.getValue()));
assertEquals(Integer.valueOf(valInt), testAttribute.getValue());
}