List<FrequencyBlockStopTimeIndex> indices = grep(allIndices, aid("a"),
serviceIds(lsids("s1"), lsids()));
assertEquals(1, indices.size());
FrequencyBlockStopTimeIndex index = indices.get(0);
assertEquals(freqA1, index.getFrequencies().get(0));
assertEquals(freqB1, index.getFrequencies().get(1));
assertEquals(freqA2, index.getFrequencies().get(2));
assertEquals(freqB2, index.getFrequencies().get(3));
assertEquals(bcA, index.getBlockConfigs().get(0));
assertEquals(bcB, index.getBlockConfigs().get(1));
assertEquals(bcA, index.getBlockConfigs().get(2));
assertEquals(bcB, index.getBlockConfigs().get(3));
}