@Test
public void shouldCreateSingleInstanceAndReturnItUnderDifferentKeysWhenUsingValuesProperty() {

    // given
    Annotation annotation = annotation().withValues("TEST_CODE1", "TEST_CODE2").build();
    // when
    Map<RepositoryObjectKey, Object> objects = annotatedObjectFactory.createObjects(Object.class, annotation);
    // then
    assertThatItemMap(objects).containsObjectsThatAreSame("TEST_CODE1", "TEST_CODE2").hasSize(2);
}