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

#include "phrase_location.h"
#include "sampler.h"

namespace extractor {

class MockSampler : public Sampler {
 public:
  MOCK_CONST_METHOD2(Sample, PhraseLocation(
      const PhraseLocation& location,
      const unordered_set<int>& blacklisted_sentence_ids));
};

} // namespace extractor