use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class AnswerRecordsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockAnswerRecords = new MockAnswerRecords();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockAnswerRecords));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class ContextsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockContexts = new MockContexts();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockContexts));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class EntityTypesClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEntityTypes = new MockEntityTypes();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEntityTypes));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class EnvironmentsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockEnvironments = new MockEnvironments();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockEnvironments));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockServiceHelper in project java-dialogflow by googleapis.
the class DocumentsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockDocuments = new MockDocuments();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockDocuments));
mockServiceHelper.start();
}
Aggregations