TestingConfiguration conf = new TestingConfiguration("bar", "example.com.", 12345);
Protocol protocol = new BinaryBackendProtocol();
Record result = protocol.decode(ipv6message, conf);
AAAARecord rec = (AAAARecord) result;
Assert.assertEquals("foo.example.com.", rec.getName().toString());
Assert.assertEquals("2002:53fe:52a1:7:224:1dff:fe7d:6bef", rec.getAddress().getHostAddress());
Assert.assertEquals(12345, rec.getTTL());
}