MetaDatasItem result = metaData.retrieveLocalMetaData();
assertNotNull("Null result", result);
MetaDataItem<?>[] items = result.getMetaDatas();
assertNotNull("Null items", items);
ExpectedMetaData actual = emptyExpectedMetaData();
for (MetaDataItem<?> item : items)
{
assertNotNull("Null meta data item " + Arrays.asList(items), item);
Object object = item.getValue();
assertNotNull("Null object " + Arrays.asList(items), object);
actual.add(getType(object));
}
assertExpectedMetaData("MetaData", expected, actual);
}