### Question:
EasyJsonCursor extends AbstractCursor implements EasyCursor { @Override public int getColumnIndex(final String name) { final String column = applyAlias(name); return mFieldAccessor.getFieldIndexByName(column); } EasyJsonCursor(final JSONArray array, final String _idAlias);  EasyJsonCursor(final JSONArray array, final String _idAlias, final EasyQueryModel model); @Override byte[] getBlob(final String name); @Override boolean getBoolean(final String name); @Override int getColumnIndex(final String name); @Override int getColumnIndexOrThrow(final String name); @Override String getColumnName(final int columnIndex); @Override String[] getColumnNames(); @Override int getCount(); JSONObject getCurrentJsonObject(); @Override double getDouble(final int column); @Override double getDouble(final String name); @Override float getFloat(final int column); @Override float getFloat(final String name); @Override int getInt(final int column); @Override int getInt(final String name); JSONArray getJSONArray(final int column); JSONArray getJSONArray(final String name); JSONObject getJSONObject(final int column); JSONObject getJSONObject(final String name); @Override long getLong(final int column); @Override long getLong(final String name); @Override EasyQueryModel getQueryModel(); @Override short getShort(final int column); short getShort(final String name); @Override String getString(final int column); @Override String getString(final String name); String get_IdAlias(); @Override boolean isNull(final int column); @Override boolean isNull(final String name); @Override boolean optBoolean(final String name); @Override boolean optBoolean(final String name, final boolean fallback); @Override Boolean optBooleanAsWrapperType(final String name); @Override double optDouble(final String name); @Override double optDouble(final String name, final double fallback); @Override Double optDoubleAsWrapperType(final String name); @Override float optFloat(final String name); @Override float optFloat(final String name, final float fallback); @Override Float optFloatAsWrapperType(final String name); @Override int optInt(final String name); @Override int optInt(final String name, final int fallback); @Override Integer optIntAsWrapperType(final String name); JSONArray optJSONArray(final int column); JSONArray optJSONArray(final String name); JSONObject optJSONObject(final int column); JSONObject optJSONObject(final String name); @Override long optLong(final String name); @Override long optLong(final String name, final long fallback); @Override Long optLongAsWrapperType(final String name); short optShort(final String name); short optShort(final String name, final short fallback); Short optShortAsWrapperType(final String name); @Override String optString(final String name); @Override String optString(final String name, final String fallback); static final String DEFAULT_STRING; static final boolean DEFAULT_BOOLEAN; static final double DEFAULT_DOUBLE; static final float DEFAULT_FLOAT; static final int DEFAULT_INT; static final long DEFAULT_LONG; static final short DEFAULT_SHORT; }### Answer:
@Test public void testAliasing() { final EasyCursor cursor = TestJsonCursorBuilder.getCursor("int"); final int intIndex = cursor.getColumnIndex("int"); final int idIndex = cursor.getColumnIndex("_id"); assertEquals(intIndex, idIndex); }