@Override
  public List<String> getLineHashesMatchingDBVersion(Component component) {
    return cache.computeIfAbsent(component, this::createLineHashesMatchingDBVersion);
  }
@Test
  public void should_create_hash_without_significant_code_if_db_has_no_significant_code() {
    when(dbLineHashVersion.hasLineHashesWithoutSignificantCode(file)).thenReturn(true);
    List<String> lineHashes = underTest.getLineHashesMatchingDBVersion(file);

    assertLineHashes(lineHashes, "line1", "line2", "line3");
    verify(dbLineHashVersion).hasLineHashesWithoutSignificantCode(file);
    verifyNoMoreInteractions(dbLineHashVersion);
    verifyNoInteractions(significantCodeRepository);
  }