@Override
  public void setOriginalFile(Component file, OriginalFile originalFile) {
    storeOriginalFileInCache(originalFiles, file, originalFile);
  }
@Test
  public void setOriginalFile_throws_ISE_if_settings_another_originalFile() {
    underTest.setOriginalFile(SOME_FILE, SOME_ORIGINAL_FILE);

    assertThatThrownBy(() -> underTest.setOriginalFile(SOME_FILE, new MovedFilesRepository.OriginalFile("uudi", "key")))
      .isInstanceOf(IllegalStateException.class)
      .hasMessageContaining("Original file OriginalFile{uuid='uuid for 100', key='key for 100'} " +
        "already registered for file ReportComponent{ref=1, key='key_1', type=FILE}");
  }