{
assertNotNull(envEntries);
int count = 1;
while (envEntries.hasNext())
{
EnvEntryMetaData envEntry = envEntries.next();
String pref = prefix + "EnvEntry" + count;
assertEquals(pref + "Name", envEntry.getName());
assertEquals("java.lang.String", envEntry.getType());
assertEquals(pref + "Value", envEntry.getValue());
++count;
}
assertEquals(size + 1, count);
}