@Test(expected = FileNotFoundException.class)
public void testLocalizeNotExistingLocalFile() throws IOException {

  when(remoteDirectoryManager.isRemote(anyString())).thenReturn(false);
  Localization localization = new Localization();
  localization.setRemoteUri("file://dummy");
  Localizer localizer = createLocalizerWithLocalizations(localization);
  localizer.handleLocalizations(service);
}