Looking for a phrase or single word to describe the strategy which a person employs when she deals with another person in their own style.
For example: Let's say a person constantly says that God controls everything. Then one day that person whines about some event in her own life. You console her by saying to her the same thing which she constantly says - God controls everything.
You weren't really trying to console her. You just said this same sentence that she repeats so often without any seriousness.
This may be referred to as giving someone a taste of their own medicine but the difference is that you are not arguing/fighting with the other person. It is a friendly conversation in which you gave a smart answer.