Package io.reactivex.netty.client

Examples of io.reactivex.netty.client.RxClient$ServerInfo


                    error.getPresentationMessage(), is(equalTo(message)));
            assertThat("Verbose messages should be the same.",
                    error.getVerboseMessage(), is(equalTo(message)));

            // SERVER INFO ATTRIBUTES
            final ServerInfo info = error.getServerInfo();
            assertThat("Server time should not be empty.",
                    info.getServerTime(), is(notNullValue()));
            assertThat("Timestamp should not be empty.",
                    info.getTimestamp(), is(notNullValue()));
            assertThat("Server instance should not be empty.",
                    info.getInstance(), is(notNullValue()));
        }
    }
View Full Code Here


        final PingResponse response = Expedia.getPing().echo(echo).call();
        assertThat("Echo from response should be equal to input.",
                response.getEcho(), is(equalTo(echo)));

        // SERVER INFO ATTRIBUTES
        final ServerInfo info = response.getServerInfo();
        assertThat("Server time should not be empty.",
                info.getServerTime(), is(notNullValue()));
        assertThat("Timestamp should not be empty.",
                info.getTimestamp(), is(notNullValue()));
        assertThat("Server instance should not be empty.",
                info.getInstance(), is(notNullValue()));
    }
View Full Code Here

TOP

Related Classes of io.reactivex.netty.client.RxClient$ServerInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.