summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_rule_factory.h
blob: 2a96be93390ee8643205ced3557bd2bb24e27573 (plain)
1
2
3
4
5
6
7
8
9
#include <gmock/gmock.h>

#include "../grammar.h"
#include "../rule_factory.h"

class MockHieroCachingRuleFactory : public HieroCachingRuleFactory {
 public:
  MOCK_METHOD1(GetGrammar, Grammar(const vector<int>& word_ids));
};