willard3: good thing you walked out, because you wouldn't have fit in there anyway. Both you and they would likely have been unhappy.
I've met plenty of engineers, licensed and unlicensed, even with advanced degrees, all with excellent resumes, who couldn't function in our work environment due to a lack of necessary fundamental technical and practical knowledge. The boss has even hired a few without testing that we later had to fire due to incompetence- often after they cost us big money. I know licensed engineers in Canada who sell real estate, or who have been in managerial roles for so long that their engineering fundamentals are under a layer of dust and rust a foot thick- but that won't stop them from coming in for an interview if we invite them. So a license is no guarantee whatsoever here in Canada that a candidate is suitable for our technical job or even for ANY technical job. And it's clearly not a barrier to licensure, since only 25% of Canadian engineering graduates bother to go on to licensure.
Asking someone questions that test their knowledge AND their ability to reason before hiring them isn't patronizing- it's commonsense. And it's necessary at present, given the answers we've been receiving to some of the questions we've been asking. The results of these tests are appalling, actually!
In fact- far from it being considered patronizing, you should consider it a good sign when they test your knowledge. It's a sign that the company cares more about what you know and how you think than they do about the cut of your suit, your age, colour or whether or not you play golf- or any other criteria irrelevant to job performance.