'The L(_EDNSMessage} instance created by L{dns._EDNSMessage.fromStr}
derives RCODE from the supplied OPT record.'

def test_extendedRcodeDecode(self):

    m = self.messageFactory()
    m.fromStr(MessageEDNSExtendedRCODE.bytes())
    self.assertEqual(m, self.messageFactory(**MessageEDNSExtendedRCODE.kwargs()))
