@Before
public void setUp() throws UnknownHostException
{
setUpResourceData();
record = new ResourceRecordImpl( domainName, RecordType.A, RecordClass.IN, timeToLive, getAttributes() );
expectedData = IoBuffer.allocate( 128 );
expectedData.put( ( byte ) 18 );
expectedData.put( ( byte ) domainNameParts[0].length() ); // 1
expectedData.put( domainNameParts[0].getBytes() ); // + 5