public void testMerge_notModifyParams() throws Exception {
String id = "abcdefg";
long value1 = 19834;
long value2 = 1;
JavaEventType t1 = new JavaEventType();
t1.setDuration(value1);
t1.setHandleIdentifier(id);
JavaEventType t2 = new JavaEventType();
t2.setDuration(value2);
t2.setHandleIdentifier(id);
merger.merge(t1, t2);
assertEquals(id, t1.getHandleIdentifier());
assertEquals(id, t2.getHandleIdentifier());
assertEquals(value1, t1.getDuration());
assertEquals(value2, t2.getDuration());
}