def METHOD_NAME(self):
    frame = bytearray(b'\x01\x00\x00\x00\x00')
    with self.assertRaises(TProtocolException) as cm:
        self.headers.decode_from_frame(frame)
    self.assertEqual(TProtocolException.BAD_VERSION, cm.exception.type)
    self.assertEqual("Wrong Frugal version. Found 1, wanted 0.",
                     str(cm.exception))