Honestly, how could he not discover he was married to a man? Certain things can't be faked. I'd wager he knew all along all very well, but pretended to be surprised when people around him found out.