public Input<DefaultIssue> create(Component component) {
    if (component.getType() == Component.Type.PROJECT) {
      return new ProjectTrackerBaseLazyInput(dbClient, issuesLoader, component);
    }

    if (component.getType() == Component.Type.DIRECTORY) {
      // Folders have no issues
      return new EmptyTrackerBaseLazyInput(dbClient, component);
    }

    return new FileTrackerBaseLazyInput(dbClient, component, movedFilesRepository.getOriginalFile(component).orElse(null));
  }
@Test
  public void create_returns_Input_which_retrieves_lines_hashes_of_specified_file_component_when_it_has_no_original_file() {
    underTest.create(FILE).getLineHashSequence();

    verify(fileSourceDao).selectLineHashes(dbSession, FILE_UUID);
  }