@@ -67,7 +67,7 @@ public class ClientCallsTest {
6767
6868 @ Test public void unaryFutureCallSuccess () throws Exception {
6969 Integer req = 2 ;
70- ListenableFuture <String > future = ClientCalls .unaryFutureCall (call , req );
70+ ListenableFuture <String > future = ClientCalls .futureUnaryCall (call , req );
7171 ArgumentCaptor <ClientCall .Listener <String >> listenerCaptor = ArgumentCaptor .forClass (null );
7272 verify (call ).start (listenerCaptor .capture (), any (Metadata .Headers .class ));
7373 ClientCall .Listener <String > listener = listenerCaptor .getValue ();
@@ -80,7 +80,7 @@ public class ClientCallsTest {
8080
8181 @ Test public void unaryFutureCallFailed () throws Exception {
8282 Integer req = 2 ;
83- ListenableFuture <String > future = ClientCalls .unaryFutureCall (call , req );
83+ ListenableFuture <String > future = ClientCalls .futureUnaryCall (call , req );
8484 ArgumentCaptor <ClientCall .Listener <String >> listenerCaptor = ArgumentCaptor .forClass (null );
8585 verify (call ).start (listenerCaptor .capture (), any (Metadata .Headers .class ));
8686 ClientCall .Listener <String > listener = listenerCaptor .getValue ();
@@ -96,7 +96,7 @@ public class ClientCallsTest {
9696
9797 @ Test public void unaryFutureCallCancelled () throws Exception {
9898 Integer req = 2 ;
99- ListenableFuture <String > future = ClientCalls .unaryFutureCall (call , req );
99+ ListenableFuture <String > future = ClientCalls .futureUnaryCall (call , req );
100100 ArgumentCaptor <ClientCall .Listener <String >> listenerCaptor = ArgumentCaptor .forClass (null );
101101 verify (call ).start (listenerCaptor .capture (), any (Metadata .Headers .class ));
102102 ClientCall .Listener <String > listener = listenerCaptor .getValue ();
0 commit comments