@Test
public void testToIndexedRecordIfDateTimeStringPropertyPresent() {

	JsonObjectIndexedRecordConverter jsonObjectIndexedRecordConverter =
		getJsonObjectIndexedRecordConverter(
			"/v1.0/attachments/{id}", OASConstants.OPERATION_GET,
			readObject("openapi.json"));
	IndexedRecord indexedRecord =
		jsonObjectIndexedRecordConverter.toIndexedRecord(
			readObject("attachment_content.json"));
	Assert.assertNotNull(
		"Attachment is converted to indexed record", indexedRecord);
	Object displayDate = indexedRecord.get(1);
	Assert.assertEquals(
		"Display date field type", Long.class, displayDate.getClass());
	Assert.assertEquals(
		"Display date field value", 1320144300000L, displayDate);
}