public class ScannerDispatcherThreadTest {
@Test
public void testConstruction() throws Exception {
FetcherRegistry registry = mock(FetcherRegistry.class);
when(registry.getSelectedFetchers()).thenReturn(Collections.<Fetcher>singleton(new IPFetcher()));
Feeder feeder = mock(Feeder.class);
when(feeder.getInfo()).thenReturn("info");
when(feeder.getName()).thenReturn("text.ip");
ScanningResultList scanningResults = new ScanningResultList(registry);