@Test
public void testDefaultProbe() {

  // component instance has a good hostname, so probe will eventually succeed
  // whether or not DNS checking is enabled
  ComponentInstance componentInstance =
      createMockComponentInstance("example.com");
  checkPingResults(probe, componentInstance, false);
  // component instance has a bad hostname, so probe will fail when DNS
  // checking is enabled
  componentInstance = createMockComponentInstance("bad.dns.test");
  checkPingResults(probe, componentInstance, probe.isDnsCheckEnabled());
}