You’ve misread. The positive message is about being confident in such situations, it’s not praising the person who’s doing the testing.
Now, there are two things that people often say when I’ve described some PUA advice, and they can’t find fault with it.
One is “Sure, that’s obvious, everyone knows you’ve got to be confident, be yourself, yadda yadda”. But while everyone knows the importance of being confident, it’s too vague. It’s not always obvious what the confident (while still being yourself and being a nice guy) thing to do is.
It’s helpful, it’s helped me a lot, to talk about specific social interactions.
The other thing is “Why would you want to talk to people that shit test you?”. Well, maybe you don’t. Step 1 is recognizing when it happens. Then you can decide to walk away.
But the truth is, lots of people, nice people, will act this way from time to time. So it’s great to be able to deal with such things and move conversations towards something more positive.