'The L(_EDNSMessage} instance created by L{dns._EDNSMessage.fromStr}
derives its edns specific values (C{ednsVersion}, etc) from the supplied
OPT record.'

def test_ednsDecode(self):

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