summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_vocabulary.h
blob: e5c191f5646059f77a11bc28a1cdd411597b56db (plain)
1
2
3
4
5
6
7
8
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));
};