@Test
public void getProjectByIdThrowsExceptionForNotExistingProjectForId() {

    // given
    when(projectRepo.findById(PROJECT_ID)).thenReturn(Optional.empty());
    // when
    assertThatThrownBy(() -> projectService.getProjectById(PROJECT_ID))
            .isInstanceOf(ProjectNotFoundException.class);
}