@Test
public void userIsEffectivelyAManagerReturnsTrueWhenUserIsManager() {

    // given
    given(retrieverMock.getUserId()).willReturn(USER_ID);
    given(userServiceMock.userIsManager(userMock)).willReturn(true);
    given(userServiceMock.getUserById(USER_ID)).willReturn(userMock);
    // when
    boolean actualHasAccess = userAuthService.userIsEffectivelyAManager(userMock);
    // then
    assertThat(actualHasAccess).isTrue();
}