/** Method: getHostName() */
 @Test
 public void testGetHostName() throws Exception {
   Assert.assertEquals("HostName == myhost", cd.getHostName(), "myhost");
 }
 /** Method: getData() */
 @Test
 public void testGetData() throws Exception {
   Assert.assertEquals(
       "bytes should match the input bytes", new String(cd.getData()), "test data");
 }
 /** Method: getIpAddress() */
 @Test
 public void testGetIpAddress() throws Exception {
   Assert.assertEquals("IP Address == 10.10.10.10", cd.getIpAddress(), "10.10.10.10");
 }