@Test
public void testRowIterable(){

    Iterable<DBQueries.Row<Integer, String>> rows = SQLiteIndex.rowIterable(data, Car.CAR_ID, Car.FEATURES, null);
    assertNotNull(rows);
    Iterator<DBQueries.Row<Integer, String>> rowsIterator = rows.iterator();
    assertNotNull(rowsIterator);
    assertTrue(rowsIterator.hasNext());
    assertEquals(new DBQueries.Row<Integer, String>(1, "abs"), rowsIterator.next());
    assertTrue(rowsIterator.hasNext());
    assertEquals(new DBQueries.Row<Integer, String>(1, "gps"), rowsIterator.next());
    assertTrue(rowsIterator.hasNext());
    assertEquals(new DBQueries.Row<Integer, String>(2, "airbags"), rowsIterator.next());
    assertTrue(rowsIterator.hasNext());
    assertEquals(new DBQueries.Row<Integer, String>(3, "abs"), rowsIterator.next());
    assertTrue(rowsIterator.hasNext());
    assertEquals(new DBQueries.Row<Integer, String>(5, "gps"), rowsIterator.next());
    assertFalse(rowsIterator.hasNext());
}