@Test
public <O> void testSupportsQuery_Positive_RootQueryIsAnAndQueryWithFilterQueryAsChild() {

    // A partial index on attribute Car.PRICE, which is filtered to only index Ford and Honda cars.
    assertTrue(supportsQueryInternal(
            backingIndexSupportsQuery(lessThan(Car.PRICE, 5000.0)),
            in(Car.MANUFACTURER, "Ford", "Honda"),
            and(lessThan(Car.PRICE, 5000.0), in(Car.MANUFACTURER, "Ford", "Honda")),
            lessThan(Car.PRICE, 5000.0),
            noQueryOptions()
    ));
}