8#include <userver/dynamic_config/test_helpers.hpp>
9#include <userver/engine/io/sockaddr.hpp>
10#include <userver/utils/statistics/storage.hpp>
12#include <userver/testsuite/grpc_control.hpp>
13#include <userver/ugrpc/client/client_factory.hpp>
14#include <userver/ugrpc/client/impl/completion_queue_pool.hpp>
15#include <userver/ugrpc/impl/statistics_storage.hpp>
17USERVER_NAMESPACE_BEGIN
19namespace ugrpc::
tests {
26class StandaloneClientFactory
final {
36 template <
typename Client>
38 return client_factory_.MakeClient<Client>(
"test", endpoint);
45 utils::statistics::Storage statistics_storage_;
46 ugrpc::impl::StatisticsStorage client_statistics_storage_{
48 ugrpc::impl::StatisticsDomain::kClient};
49 dynamic_config::StorageMock config_storage_{dynamic_config::MakeDefaultStorage({})};
50 client::impl::CompletionQueuePool completion_queues_{1};
52 client::ClientFactory client_factory_;