Lei YU | 7f2a215 | 2019-09-16 16:50:18 +0800 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "association_interface.hpp" | ||||
4 | |||||
5 | #include <gmock/gmock.h> | ||||
6 | |||||
7 | class MockedAssociationInterface : public AssociationInterface | ||||
8 | { | ||||
9 | public: | ||||
10 | virtual ~MockedAssociationInterface() = default; | ||||
11 | |||||
12 | MOCK_METHOD1(createActiveAssociation, void(const std::string& path)); | ||||
13 | MOCK_METHOD1(addFunctionalAssociation, void(const std::string& path)); | ||||
14 | MOCK_METHOD1(removeAssociation, void(const std::string& path)); | ||||
15 | }; |