@Test
public void shouldPopulateReturnKeyAnnotation() throws Exception {

    final Class<? extends Annotation> expected = InvalidateSingleCache.class;
    final Method targetMethod = new Mirror().on(AnnotationDataDummy.class).reflect().method("populateKeyProvider02")
            .withArgs(String.class);
    builder.populate(data, null, expected, targetMethod);
    assertTrue(data.getKeyIndexes().isEmpty());
    assertTrue(data.isReturnKeyIndex());
}