int duration1 = 10010;
int duration2 = 187341;
Set<String> fileIds1 = new HashSet<String>(Arrays.asList("a", "b"));
Set<String> fileIds2 = new HashSet<String>(Arrays.asList("1"));
LaunchEventType type1 = new LaunchEventType();
type1.setName(name);
type1.setLaunchTypeId(type);
type1.setLaunchModeId(mode);
type1.setCount(count1);
type1.setTotalDuration(duration1);
type1.getFilePath().addAll(fileIds1);
LaunchEventType type2 = new LaunchEventType();
type2.setName(name);
type2.setLaunchTypeId(type);
type2.setLaunchModeId(mode);
type2.setCount(count2);
type2.setTotalDuration(duration2);
type2.getFilePath().addAll(fileIds2);
LaunchEventType result = merger.merge(type1, type2);
assertNotSame(type1, result);
assertNotSame(type2, result);
assertEquals(name, type1.getName());
assertEquals(mode, type1.getLaunchModeId());
assertEquals(type, type1.getLaunchTypeId());