Examples of using "彼は心の中で「いやだ!」と思ったが、声に出して言ったのは「はい」であった。" in a sentence and their french translations:
Il se disait à lui-même : « Non ! ». Il a dit tout haut : « Oui. »