@Test
public void shouldPopulateSingleParamKeyAnnotation() throws Exception {

    final Class<? extends Annotation> expected = InvalidateSingleCache.class;
    final Method targetMethod = new Mirror().on(AnnotationDataDummy.class).reflect().method("populateKeyProvider05")
            .withArgs(String.class, String.class, String.class);
    builder.populate(data, null, expected, targetMethod);
    assertCollectionEquals(Collections.singleton(2), data.getKeyIndexes());
    assertFalse(data.isReturnKeyIndex());
}