@Test
public void shouldNotPopulateIfExpectedAnnotationNotRequireKeyProvider() throws Exception {

    final Class<? extends Annotation> expected = InvalidateAssignCache.class;
    final Method targetMethod = null;
    builder.populate(data, null, expected, targetMethod);
    assertTrue(data.getKeyIndexes().isEmpty());
    assertFalse(data.isReturnKeyIndex());
}