public void testCompositeArray() throws Exception
{
TestSimpleComposite hello = new TestSimpleComposite("Hello");
TestSimpleComposite goodbye = new TestSimpleComposite("Goodbye");
TestSimpleComposite[] array = { hello, goodbye };
ArrayMetaType arrayType = assertInstanceOf(resolve(array.getClass()), ArrayMetaType.class);
CompositeMetaType compositeType = assertInstanceOf(resolve(TestSimpleComposite.class), CompositeMetaType.class);
String[] itemNames = { "something" };
MetaValue[] itemValues = { SimpleValueSupport.wrap("Hello") };
CompositeValue helloValue = new CompositeValueSupport(compositeType, itemNames, itemValues);
itemValues = new MetaValue[] { SimpleValueSupport.wrap("Goodbye") };