protected AbstractMockOperation(BaseMockOperationConfigType config, MockService parent, String icon) {
super(config, parent, icon);
}
protected void setupConfig(BaseMockOperationConfigType config) {
Operation operation = getOperation();
if (!config.isSetName()) {
config.setName(operation == null ? "<missing operation>" : operation.getName());
}
if (!config.isSetDefaultResponse() && getMockResponseCount() > 0) {
setDefaultResponse(getMockResponseAt(0).getName());
}