verify(dvc, never()).merge(any(DistributorVersion.class));
}
@Test
public void importDistributorVersionUpdate() throws Exception {
DistributorVersionCurator dvc = mock(DistributorVersionCurator.class);
Importer i = new Importer(null, null, null, null, null, null, null,
null, null, null, null, null, null, i18n, dvc, null);
when(dvc.findByName("test-dist-ver")).thenReturn(
new DistributorVersion("test-dist-ver"));
File[] distVer = new File[1];
distVer[0] = new File("target/test/resources/upstream/dist-ver.json");
i.importDistributorVersions(distVer);