package de.ugoe.cs.eventbench.assertions;

import de.ugoe.cs.eventbench.data.Event;
import de.ugoe.cs.eventbench.data.IReplayable;
import de.ugoe.cs.eventbench.data.ReplayableEvent;


/**
 * <p>
 * Subclass of {@link ReplayableEvent} for assertions
 * </p>
 * 
 * @author  Jeffrey Hall
 * @version 1.0
 * 
 * @param <T>
 *          Allows only types that extend {@link IReplayable} and is used to
 *          define whether it's TextEquals or FileEquals
 * 
 */
public class AssertEvent<T extends IReplayable> extends ReplayableEvent<T> {
	
	/**
	 * Id for object serialization.
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * <p>
	 * Constructor. Creates a new event with the given type.
	 * <p>
	 * 
	 * @param type
	 *            type of the event
	 * @see Event#Event(String)
	 */
	public AssertEvent(String type) {
		super(type);
	}
}
