Creates mock event.