It is very unlikely. The overwhelming majority of class action cases are resolved without a plaintiff ever having to testify, such as at a deposition. In the rare case, and if the court appoints you as a lead plaintiff, you may be asked to testify to demonstrate that you are willing to act in the best interests of the class.