@Test
public void removeBookmarkOfUserThrowsExceptionWhenNotBookmarked() {

    // given
    given(userMock.getId()).willReturn(USER_ID);
    given(userRepository.existsByIdAndBookmarksContaining(USER_ID, projectMock)).willReturn(false);
    // when
    assertThatThrownBy(() -> bookmarkService.removeBookmarkOfUser(userMock, projectMock))
            .isInstanceOf(BookmarkNotFoundException.class);
}