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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/extractor/mocks/mock_sampler.h b/extractor/mocks/mock_sampler.h
new file mode 100644
index 00000000..b2306109
--- /dev/null
+++ b/extractor/mocks/mock_sampler.h
@@ -0,0 +1,9 @@
+#include <gmock/gmock.h>
+
+#include "../phrase_location.h"
+#include "../sampler.h"
+
+class MockSampler : public Sampler {
+ public:
+ MOCK_CONST_METHOD1(Sample, PhraseLocation(const PhraseLocation& location));
+};