}
public void testDefaultSerialization()
{
int expectedHash = priceParamInfo.hashCode();
Serializer serializer = new Serializer();
try
{
byte[] data = serializer.serialize(priceParamInfo);
Object obj = serializer.deserialize(data);
// assert instanceof
assertTrue(obj instanceof OpenMBeanParameterInfo);
// if instanceof passes continue otherwise we will not get to the rest
OpenMBeanParameterInfo type = (OpenMBeanParameterInfo)obj;