summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_sampler.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_sampler.h')
-rw-r--r--extractor/mocks/mock_sampler.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/extractor/mocks/mock_sampler.h b/extractor/mocks/mock_sampler.h
new file mode 100644
index 00000000..75c43c27
--- /dev/null
+++ b/extractor/mocks/mock_sampler.h
@@ -0,0 +1,13 @@
+#include <gmock/gmock.h>
+
+#include "phrase_location.h"
+#include "sampler.h"
+
+namespace extractor {
+
+class MockSampler : public Sampler {
+ public:
+ MOCK_CONST_METHOD1(Sample, PhraseLocation(const PhraseLocation& location));
+};
+
+} // namespace extractor