@Test
public void createProjectionReturnsExpectedProjection() {

    // given
    var projection = Integer.class;
    var expectedProjection = 12345;
    var userProjectionSource = new UserProjectionSource(userMock, userDataMock, true);
    given(projectionFactoryMock.createProjection(projection, userProjectionSource)).willReturn(expectedProjection);
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userServiceMock.userIsManager(userMock)).willReturn(true);
    // when
    var actualProjection = userProjectionFactory.createProjection(userMock, projection);
    // then
    assertThat(actualProjection).isEqualTo(expectedProjection);
}