@Test
public void testClear() {

    AttributeIndex<Integer, Car> backingIndex = mockBackingIndex();
    PartialIndex<Integer, Car, AttributeIndex<Integer, Car>> index = wrapWithPartialIndex(backingIndex);
    index.clear(noQueryOptions());
    verify(backingIndex, times(1)).clear(noQueryOptions());
}