However, he did not praise the Chinese civil service examinations. There's no record of him writing about them.
It's possible you're thinking of someone else, or perhaps confusing Samuel Johnson with another figure who praised the Chinese civil service examinations.