blob: 52771e45783e79ee72cca8af8caab8975a93c451 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2007 Mylyn project committers and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.mylyn.context.tests;
import org.eclipse.mylyn.monitor.core.InteractionEvent;
/**
* @author Mik Kersten
*/
public class InteractionEventTest extends AbstractContextTest {
public void testCopy() throws InterruptedException {
InteractionEvent original = mockSelection();
Thread.sleep(1000);
InteractionEvent copy = InteractionEvent.makeCopy(original, original.getInterestContribution());
assertEquals(original, copy);
}
}