}
}
}
public void testCorbaFixedHandler() {
Fixed fixedType = new Fixed();
fixedType.setName("FixedType");
fixedType.setDigits((long)3);
fixedType.setScale((long)2);
QName fixedName = new QName(fixedType.getName());
QName fixedIdlType =
new QName(CorbaConstants.NU_WSDL_CORBA, "FixedType", CorbaConstants.NP_WSDL_CORBA);
TypeCode fixedTC = orb.create_fixed_tc((short)fixedType.getDigits(), (short)fixedType.getScale());
CorbaFixedHandler obj = new CorbaFixedHandler(fixedName, fixedIdlType, fixedTC, fixedType);
assertNotNull(obj);
java.math.BigDecimal value = new java.math.BigDecimal(123.45);
obj.setValue(value);
assertTrue(value.equals(obj.getValue()));
String valueData = obj.getValueData();
assertTrue(valueData.equals(value.toString()));
assertTrue(fixedType.getDigits() == obj.getDigits());
assertTrue(fixedType.getScale() == obj.getScale());
}