assertNotNull(new HostExtractor());
}
@Test
public void testTests() throws Exception {
HostExtractor hostExtractor = new HostExtractor();
int testCount = 0;
Tuple input=DefaultTupleFactory.getInstance().newTuple(1);
for (String key : tests.keySet()) {
input.set(0,key);
String expected = tests.get(key);
String output = hostExtractor.exec(input);
assertEquals(expected, output);
testCount++;
}
assertEquals(tests.size(), testCount);
}