public void testMerge_notModifyParams() throws Exception {
String perspectiveId = "amAnCommandId";
int duration1 = 10010;
int duration2 = 187341;
PerspectiveEventType type1 = new PerspectiveEventType();
type1.setPerspectiveId(perspectiveId);
type1.setDuration(duration1);
PerspectiveEventType type2 = new PerspectiveEventType();
type2.setPerspectiveId(perspectiveId);
type2.setDuration(duration2);
PerspectiveEventType result = merger.merge(type1, type2);
assertNotSame(type1, result);
assertNotSame(type2, result);
assertEquals(perspectiveId, type1.getPerspectiveId());
assertEquals(duration1, type1.getDuration());
assertEquals(perspectiveId, type2.getPerspectiveId());