@Override
  public Optional<OriginalFile> getOriginalFile(Component file) {
    return retrieveOriginalFileFromCache(originalFiles, file);
  }
@Test
  public void getOriginalFile_throws_NPE_when_file_is_null() {
    assertThatThrownBy(() -> underTest.getOriginalFile(null))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("file can't be null");
  }