@Test
public void getUserDataReturnsInitializedDataWhenPresent() {

    // given
    given(userDataRepoMock.findByUser(userMock)).willReturn(Optional.of(userDataMock));
    given(userDataMock.getUser()).willReturn(userMock);
    given(userDataMock.isPictureInitialized()).willReturn(true);
    // when
    var actualData = repoUserService.getUserData(userMock);
    // then
    assertThat(actualData).isEqualTo(userDataMock);
}