@Test
public void testNewResultSet_GetRetrievalCost() throws Exception{

    // Mocks
    ConnectionManager connectionManager = mock(ConnectionManager.class);
    // Iterator
    ResultSet<Car> carsWithAbs = new SQLiteIndex<String, Car, Integer>(
            Car.FEATURES,
            OBJECT_TO_ID,
            ID_TO_OBJECT,
            "")
            .retrieve(equal(Car.FEATURES, "abs"), createQueryOptions(connectionManager));
    assertEquals(SQLiteIndex.INDEX_RETRIEVAL_COST, carsWithAbs.getRetrievalCost());
}