loadAndCompare(test, "DateTimeFieldType", true);
inlineCompare(test, true);
}
public void testSerializedUnsupportedDateTimeField() throws Exception {
UnsupportedDateTimeField test = UnsupportedDateTimeField.getInstance(
DateTimeFieldType.year(),
UnsupportedDurationField.getInstance(DurationFieldType.years()));
loadAndCompare(test, "UnsupportedDateTimeField", true);
inlineCompare(test, true);
}