package com.google.api.gax.testing;

import com.google.protobuf.GeneratedMessage;

import io.grpc.ServerServiceDefinition;

import java.util.List;

/**
 * An interface of mock gRPC service.
 */
public interface MockGrpcService {
  /** Returns all the requests received. */
  public List<GeneratedMessage> getRequests();

  /** Returns gRPC service definition used for binding. */
  public ServerServiceDefinition getServiceDefinition();

  /** Resets the state. */
  public void reset();
}

@@ -310,24 +310,116 @@
 equests();%0A%0A
+  /** Sets the responses. */%0A  public void setResponses(List%3CGeneratedMessage%3E responses);%0A%0A
   /** Return

Add setResponses to MockGrpcService (#98)