summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_rule_extractor.h
blob: aad1165182344a4542ffd5171c2ca1e6b4c9a8c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <gmock/gmock.h>

#include "phrase.h"
#include "phrase_builder.h"
#include "rule.h"
#include "rule_extractor.h"

namespace extractor {

class MockRuleExtractor : public RuleExtractor {
 public:
  MOCK_CONST_METHOD2(ExtractRules, vector<Rule>(const Phrase&,
      const PhraseLocation&));
};

} // namespace extractor