def METHOD_NAME(self, mock_stdout):
    with ContextManagers([]):
        print("Transformers are awesome!")
    # The print statement adds a new line at the end of the output
    self.assertEqual(mock_stdout.getvalue(), "Transformers are awesome!\n")