'Test that a long above the implementation specific limit is rejected
as too large to be decoded.'

def test_decodeTooLargeLong(self):

    smallest = self._getSmallest()
    self.enc.setPrefixLimit((self.enc.prefixLimit * 2))
    self.enc.sendEncoded(smallest)
    encoded = self.io.getvalue()
    self.io.truncate(0)
    self.enc.setPrefixLimit((self.enc.prefixLimit // 2))
    self.assertRaises(banana.BananaError, self.enc.dataReceived, encoded)
