@Test
public void userHasBookmarkReturnsTrueWhenBookmarkExists() {

    // given
    given(userMock.getId()).willReturn(USER_ID);
    given(userRepository.existsByIdAndBookmarksContaining(USER_ID, projectMock)).willReturn(true);
    // when
    boolean actualHasBookmarked = bookmarkService.userHasBookmark(userMock, projectMock);
    // then
    assertThat(actualHasBookmarked).isTrue();
}