SimpleMetaDataItem<Object> item1 = new SimpleMetaDataItem<Object>(Object.class.getName(), object1);
SimpleMetaDataItem<String> item2 = new SimpleMetaDataItem<String>(String.class.getName(), object2);
MetaDataItem<?>[] items = { item1, item2 };
SimpleMetaDatasItem item = new SimpleMetaDatasItem(items);
MetaDataItem<?>[] result = item.getMetaDatas();
assertUnorderedArrayEquals(items, result);
Object[] expected = { object1, object2 };
Object[] objects = item.getValue();
assertUnorderedArrayEquals(expected, objects);
assertTrue(item.isCachable());
assertTrue(item.isValid());
}