7475767778798081828384
boolean calledMarker = false; @Test public void testRpc() throws Exception { SumRequest sumRequest = SumRequest.newBuilder() .setX1(1) .setX2(2) .setX3(3.15d) .setX4(2.0f).build();
6465666768697071727374
} } @Test public void testRpc() throws Exception { SumRequest request = SumRequest.newBuilder() .setX1(1) .setX2(2) .setX3(3.15d) .setX4(2.0f).build(); SumResponse response1 = stub.sum(null, request);
6566676869707172737475
8182838485868788899091
assertEquals(MESSAGE, response2.getMessage()); } @Test public void testRpcWithServiceCallable() throws Exception { final SumRequest request = SumRequest.newBuilder() .setX1(1) .setX2(2) .setX3(3.15d) .setX4(2.0f).build();