public SocketCmdLineTests() { _testServerPort = NetworkInfo.GetFreeLocalTcpPort(); _server = new SocketCommandLineServer(_testServerPort); }
public void NextFreeTcpPortShouldNotBeZero() { var port = NetworkInfo.GetFreeLocalTcpPort(); Assert.True(port > 0); }