public class NetIntegrationTest extends TestVerticle {
@Test
public void testSimpleConnect() {
final RxNetServer rxNetServer = new RxNetServer(vertx.createNetServer());
Observable<RxNetSocket> connectStream = rxNetServer.connectStream();
Observable<RxNetServer> listenObs = rxNetServer.listen(1234);
connectStream.subscribe(new Action1<RxNetSocket>() {
@Override
public void call(final RxNetSocket rxNetSocket) {
System.out.println("Got a connection");