@Test(timeout = 90000) public void testDetectorFail() throws UnknownHostException { m_detector.setAdminTag("extraneous_1"); assertFalse(m_detector.isServiceDetected(InetAddressUtils.addr(TEST_IP_ADDRESS))); }
@Test(timeout = 90000) public void testDetectorSuccessful() throws UnknownHostException { assertTrue(m_detector.isServiceDetected(InetAddressUtils.addr(TEST_IP_ADDRESS))); }