Creates a stub which will return the given messages when WebSocket.receive is called by the client.
Creates a stub which will return the given messages when WebSocket.receive is called by the client. More messages can be enqueued to be returned by the stub in response to WebSocket.send by subsequently calling one of the WebSocketStub.thenRespond methods.
Creates a stub which will return the given responses when WebSocket.receive is called by the client.
Creates a stub which will return the given responses when WebSocket.receive is called by the client. More messages can be enqueued to be returned by the stub in response to WebSocket.send by subsequently calling one of the WebSocketStub.thenRespond methods.
Creates a stub which won't return any initial frames when WebSocket.receive is called by the client.
Creates a stub which won't return any initial frames when WebSocket.receive is called by the client. More messages can be enqueued to be returned by the stub in response to WebSocket.send by subsequently calling one of the WebSocketStub.thenRespond methods.
(Since version ) see corresponding Javadoc for more information.