Options for inject okhttp Call/WebSocket factory

This commit is contained in:
Yu-Hsuan Lin
2017-05-02 01:15:47 +08:00
parent 80535c6304
commit c817af5b22
9 changed files with 183 additions and 267 deletions

View File

@@ -163,8 +163,8 @@ public class ServerConnectionTest extends Connection {
});
socket.open();
assertThat(messages.take(), is("foo"));
assertThat(messages.take(), is("hi"));
assertThat(messages.take(), is("foo"));
socket.close();
}