public class SockServerRule
extends org.junit.rules.ExternalResource
SocksServer once, and starts and stops it before and after each test.
Can be used both by JUnit's Rule and ClassRule (`the latter being the preferred usage).
| Constructor and Description |
|---|
SockServerRule(@NotNull Integer port) |
public SockServerRule(@NotNull
@NotNull Integer port)
Copyright © 2019–2020. All rights reserved.