def METHOD_NAME(self):
    subject = 'This is a täßϑ subject.'
    to = 'recipient@mail.com'
    _from = 'foo.bar@mail.fr'
    body = 'Body\n地初店会継思識棋御招告外児山望掲領環。\n€mail body €nd.'
    with tempfile.NamedTemporaryFile('wb', delete=False) as f:
        txt = 'Subject: {}\nTo: {}\nFrom: {}\n{}'.format(subject, to,
                                                          _from, body)
        f.write(txt.encode('utf-8'))
    self.addCleanup(os.unlink, f.name)
    cmd = g_commands.ComposeCommand(template=f.name)
    cmd._set_envelope()
    cmd._get_template(mock.Mock())
    self.assertEqual({'To': [to],
                      'From': [_from],
                      'Subject': [subject]}, cmd.envelope.headers)
    self.assertEqual(body, cmd.envelope.body_txt)