def METHOD_NAME(self):
    headers = {
        u'Đ¥ÑØ': u'δάüΓ',
        u'good\u00F1ight': u'moo\u00F1',
    }
    encoded_headers = _Headers._write_to_bytearray(headers)
    decoded_headers = _Headers.decode_from_frame(encoded_headers)
    self.assertEqual(headers, decoded_headers)