*
* @throws Exception for any problem
*/
public void testHashCode() throws Exception
{
CompositeMetaType compositeMetaType = initCompositeMetaType();
Map<String, MetaValue> map = initMapValues();
CompositeValue v = new CompositeValueSupport(compositeMetaType, map);
int myHashCode = compositeMetaType.hashCode() + "value1".hashCode() + new Integer(2).hashCode();
assertEquals("Wrong hash code generated", myHashCode, v.hashCode());
}