@Test
public void getAuthenticatedUserReturnsUserWithIdOfAuthenticatedUser() {

    // given
    given(retrieverMock.getUserId()).willReturn(USER_ID);
    given(userServiceMock.getUserById(USER_ID)).willReturn(userMock);
    // when
    var actualUser = userAuthService.getAuthenticatedUser();
    // then
    assertThat(actualUser).isEqualTo(userMock);
}