diff options
Diffstat (limited to 'extractor/mocks/mock_vocabulary.h')
-rw-r--r-- | extractor/mocks/mock_vocabulary.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/extractor/mocks/mock_vocabulary.h b/extractor/mocks/mock_vocabulary.h new file mode 100644 index 00000000..e5c191f5 --- /dev/null +++ b/extractor/mocks/mock_vocabulary.h @@ -0,0 +1,9 @@ +#include <gmock/gmock.h> + +#include "../vocabulary.h" + +class MockVocabulary : public Vocabulary { + public: + MOCK_METHOD1(GetTerminalValue, string(int word_id)); + MOCK_METHOD1(GetTerminalIndex, int(const string& word)); +}; |