public static class TcpConnections.TcpExpectation extends Object implements Spy.Expectation
Modifier and Type | Field and Description |
---|---|
protected String |
host |
protected int |
max |
protected int |
min |
protected Threads |
threads |
Modifier | Constructor and Description |
---|---|
protected |
TcpExpectation(int min,
int max,
Threads threads,
String host) |
|
TcpExpectation(SocketExpectation socketExpectation) |
protected final int min
protected final int max
protected final Threads threads
protected final String host
public TcpExpectation(SocketExpectation socketExpectation)
public <T extends Spy<T>> Spy<T> verify(Spy<T> spy) throws WrongNumberOfQueriesError
verify
in interface Spy.Expectation
WrongNumberOfQueriesError
Copyright © 2016. All rights reserved.