mode = ParametersConstructionMode.SORT;
consumableText = consumableText.substring(SORT_BY_PREFIX.length());
}
}
if(initialText.equals(consumableText)) {
throw new UnableToBuildDueToMissingField(consumableText, method, fieldNames.keySet());
}
}
// Now created has been terminated, check method corresponds to what we expect
created.checkMethod(method);
return created;