public class ClientSetupRule<T,S extends io.rsocket.Closeable>
extends org.junit.rules.ExternalResource
| Constructor and Description |
|---|
ClientSetupRule(Supplier<T> addressSupplier,
BiFunction<T,S,io.rsocket.transport.ClientTransport> clientTransportSupplier,
Function<T,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
String |
expectedPayloadData() |
String |
expectedPayloadMetadata() |
io.rsocket.RSocket |
getRSocket() |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleapply in class org.junit.rules.ExternalResourcepublic io.rsocket.RSocket getRSocket()
public String expectedPayloadData()
public String expectedPayloadMetadata()