Line | Count | Source |
1 | #include "load_balancer.h" | |
2 | ||
3 | #include "gmock/gmock.h" | |
4 | #include "gtest/gtest.h" | |
5 | ||
6 | namespace Envoy { | |
7 | namespace Upstream { | |
8 | using ::testing::_; | |
9 | using ::testing::Return; | |
10 | 36.7k | MockLoadBalancer::MockLoadBalancer() { ON_CALL(*this, chooseHost(_)).WillByDefault(Return(host_)); } |
11 | ||
12 | 36.7k | MockLoadBalancer::~MockLoadBalancer() = default; |
13 | ||
14 | } // namespace Upstream | |
15 | } // namespace Envoy |