@Test
public void shouldPopulateWithCorrectOrder() throws Exception {

    final Class<? extends Annotation> expected = InvalidateSingleCache.class;
    final Method targetMethod = new Mirror().on(AnnotationDataDummy.class).reflect().method("populateKeyProvider09")
            .withArgs(String.class, String.class);
    builder.populate(data, null, expected, targetMethod);
    assertEquals(2, data.getKeyIndexes().size());
    final Iterator<Integer> iter = data.getKeyIndexes().iterator();
    assertEquals(1, iter.next().intValue());
    assertEquals(0, iter.next().intValue());
    assertFalse(data.isReturnKeyIndex());
}