@Test
public void getByNameOrDefaultReturnsDefaultWhenNoProjectionWithGivenNameAndTargetNameExists() {

    // given
    var expectedName = "projection-name";
    var expectedTarget = String.class;
    projectionService.defaultProjectionClassMap.put(expectedTarget, annotatedClass);
    // when
    var actualProjection = projectionService.getByNameOrDefault(expectedName, expectedTarget);
    // then
    assertThat(actualProjection).isEqualTo(annotatedClass);
}