'f', 'o', 'o', // hostname
3,
'b', 'a', 'r' // domain moniker
};
TestingConfiguration conf = new TestingConfiguration("bar", "example.com.", 12345);
Protocol protocol = new BinaryBackendProtocol();
Record result = protocol.decode(ipv4message, conf);
ARecord rec = (ARecord) result;
Assert.assertEquals("foo.example.com.", rec.getName().toString());