Assert.assertEquals(name, wsOperation.getName());
Assert.assertEquals(service, wsOperation.getService());
}
private void assertStructure(StructureDefinition structure, String structureId, String[] parameters, Class<?>[] classes) {
SimpleStructureDefinition simpleStructure = (SimpleStructureDefinition) structure;
Assert.assertEquals(structureId, simpleStructure.getId());
for (int i = 0; i < simpleStructure.getFieldSize(); i++) {
Assert.assertEquals(parameters[i], simpleStructure.getFieldNameAt(i));
Assert.assertEquals(classes[i], simpleStructure.getFieldTypeAt(i));
}
}