def METHOD_NAME(self, mock_stdout):
    with ContextManagers([context_fr(), context_en()]):
        print("Transformers are awesome!")
    # The output should be wrapped with an English and French welcome and goodbye
    self.assertEqual(mock_stdout.getvalue(), "Bonjour!\nWelcome!\nTransformers are awesome!\nBye!\nAu revoir!\n")