use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dialogflow by googleapis.
the class KnowledgeBasesClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockKnowledgeBases = new MockKnowledgeBases();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockKnowledgeBases));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService in project java-dialogflow by googleapis.
the class ConversationDatasetsClientTest method startStaticServer.
@BeforeClass
public static void startStaticServer() {
mockConversationDatasets = new MockConversationDatasets();
mockServiceHelper = new MockServiceHelper(UUID.randomUUID().toString(), Arrays.<MockGrpcService>asList(mockConversationDatasets));
mockServiceHelper.start();
}
use of com.google.api.gax.grpc.testing.MockGrpcService 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.MockGrpcService 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.MockGrpcService 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();
}
Aggregations