/** */
private void checkValues(Object oid, ArrayCollections expectedValue)
{
StringBuffer sbuf = new StringBuffer();
ArrayCollections pi = (ArrayCollections) pm.getObjectById(oid, true);
int n = pi.getLength();
for (int i = 0; i < n; ++i) {
Object obj = new Object();
Class objClass = obj.getClass();
Object[] expected = (Object[])Array.newInstance(objClass, 5);
Object[] actual = (Object[])Array.newInstance(objClass, 5);
expected = expectedValue.get(i);
actual = pi.get(i);
if (expected.length != actual.length) {
sbuf.append("\nFor element " + i + ", expected size = " +
expected.length + ", actual size = " + actual.length
+ " . ");
continue;