@Test
public void testFlagsDisabled() {

    QueryOptions queryOptions = queryOptions(disableFlags("a", "b"));
    assertTrue(isFlagDisabled(queryOptions, "a"));
    assertTrue(isFlagDisabled(queryOptions, "b"));
    assertFalse(isFlagDisabled(queryOptions, "c"));
}