### Question:
ProjectDependencyServiceImpl implements ProjectDependencyService { @Override public Boolean devDependencyExists(Integer projectId, Integer componentRepoId) { List<ComponentRepoVersion> componentRepoVersions = componentRepoVersionDao.findAllByComponentRepoId(componentRepoId); if(componentRepoVersions.isEmpty()) { return false; } List<ProjectDependency> devDependencies = projectDependencyDao.findAllByProjectIdAndProfileId(projectId, null); if(devDependencies.isEmpty()) { return false; } return componentRepoVersions.stream() .anyMatch(version -> devDependencies.stream() .anyMatch(dependence -> version.getId().equals(dependence.getComponentRepoVersionId()))); }  @Override Boolean devDependencyExists(Integer projectId, Integer componentRepoId); @Override Boolean buildDependencyExists(Integer projectId, Integer buildProfileId, Integer componentRepoId); @Override ProjectDependency save(Repository repository, RepositoryResource project, ProjectDependency dependency); @Override void delete(Repository repository, RepositoryResource project, Integer dependenceId); @Override ProjectDependency update(Repository repository, RepositoryResource project, ProjectDependency dependency); @Override Optional<ProjectDependency> findById(Integer dependenceId); @Override List<RepoWidgetList> findAllWidgets(Integer projectId); @Override List<ProjectDependencyData> findAllConfigDependencies(Integer projectId); @Override List<ProjectDependencyData> findDevDependencies(Integer projectId); @Override List<ProjectDependencyData> findStdDevDependencies(AppType appType); @Override List<ProjectDependencyData> findStdBuildDependencies(AppType appType); @Override List<ProjectDependency> findAllDevDependencies(Integer projectId, AppType appType);  }### Answer:
@Test public void devDependencyExistsThatNotExists() { Integer projectId = 1; Integer componentRepoId = 1; assertThat(projectDependencyService.devDependencyExists(projectId, componentRepoId)).isFalse(); }