def METHOD_NAME(self):
    self._test('=?foobar?q?foo=ACbar?=',
               b'foo\xacbar'.decode('ascii', 'surrogateescape'),
               charset = 'foobar',
               # XXX Should this be a new Defect instead?
               defects = [errors.CharsetError])