assert results.get(0).getState() == PortResult.PortState.CLOSED;
}
@Test
public void testPortTimedOut() throws ExecutionException, InterruptedException {
scanner = new PortScanner("www.google.com",83,83,1,500);
List<PortResult> results = scanner.scan();
assert results.size() == 1;
assert results.get(0).getPort() == 83;
assert results.get(0).getState() == PortResult.PortState.TIMEDOUT;
}