@Bean
  public ProjectRepositories projectRepositories() {
    Profiler profiler = Profiler.create(LOG).startInfo(LOG_MSG);
    ProjectRepositories project = loader.load(scannerProperties.getProjectKey(), branchConfig.referenceBranchName());
    profiler.stopInfo();
    return project;
  }
@Test
  public void testValidation() {
    when(loader.load(eq("key"), any())).thenReturn(project);
    assertThat(underTest.projectRepositories()).isEqualTo(project);
  }