List<CorbaTypeImpl> types = mapType.getStructOrExceptionOrUnion();
for (int i = 0; i < types.size(); i++) {
CorbaTypeImpl type = types.get(i);
if (type instanceof Anonstring) {
Anonstring str = (Anonstring)type;
assertEquals("Name is incorrect for Array Type", "X._1_S",
str.getName());
assertEquals("Type is incorrect for AnonString Type", "string",
str.getType().getLocalPart());
} else if (type instanceof Anonfixed) {
Anonfixed fx = (Anonfixed)type;
assertEquals("Name is incorrect for Anon Array Type", "X._2_S",
fx.getName());