"don’t look up documentation online" - when you hear this, run.
Agreed. It's fortunate that I've never run into this myself, but my immediate response to that sort of thing is "Do you expect your employees to not utilize documentation while at work?"
It's absolutely absurd.
My gut feeling -giving them the greatest benefit of the doubt- is that they think you've used certain methods so much you'll remember...
Unfortunately I’ve had this a couple times. (Sits in room flicking pencil)
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.