can anyone give me an example on how to use the fireEvent method?