@Test
public void testToIndexedRecordWithSimpleTypeProperties() {

	JsonObjectIndexedRecordConverter jsonObjectIndexedRecordConverter =
		getJsonObjectIndexedRecordConverter(
			"/v1.0/catalogs/{siteId}/products", OASConstants.OPERATION_GET,
			readObject("openapi.json"));
	IndexedRecord indexedRecord =
		jsonObjectIndexedRecordConverter.toIndexedRecord(
			readObject("product_content.json"));
	Assert.assertNotNull(
		"Product is converted to indexed record", indexedRecord);
	Assert.assertEquals("SKU field value", "3 pcs", indexedRecord.get(13));
	Object id = indexedRecord.get(17);
	Assert.assertEquals("ID field type", Long.class, id.getClass());
	Assert.assertEquals("ID field value", Long.valueOf(19770709), id);
	Object productId = indexedRecord.get(24);
	Assert.assertEquals(
		"Product ID field type", Long.class, productId.getClass());
	Assert.assertEquals(
		"Product ID field value", Long.valueOf(20111101), productId);
}