fail("Set ComplexStruct hould have thrown ProtocolException");
} catch (ProtocolException e) {
//System.out.println(e.getMessage());
}
OccuringStruct occuringStruct = new OccuringStruct();
// Populate the list in the wrong order. Validation should throw
// an exception.
List<Serializable> floatIntStringList = occuringStruct.getVarFloatAndVarIntAndVarString();
floatIntStringList.add(new Integer(42));
floatIntStringList.add(new Float(4.2f));
floatIntStringList.add("Goofus and Gallant");
try {
/*boolean result =*/ validation.setOccuringStruct(occuringStruct);