You can speak with attorney about the exact way the papers were served on you, and you should do so in person, so the attorney can get all the details: if there was an error in service, you may be able to avoid testifying. But if the papers were served correctly, you will almost certainly have to testify: there is no right or privilege to not testify against a boyfriend.