/** * Creates a new port status wait instance. * * @param port the port to test against. * @param expectedStatus the status to block until we get. * @return a new instance. */ public static PortStatusWait portStatus(int port, int expectedStatus) { return new PortStatusWait(port, expectedStatus); }