summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_intersector.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_intersector.h')
-rw-r--r--extractor/mocks/mock_intersector.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/extractor/mocks/mock_intersector.h b/extractor/mocks/mock_intersector.h
new file mode 100644
index 00000000..372fa7ea
--- /dev/null
+++ b/extractor/mocks/mock_intersector.h
@@ -0,0 +1,11 @@
+#include <gmock/gmock.h>
+
+#include "../intersector.h"
+#include "../phrase.h"
+#include "../phrase_location.h"
+
+class MockIntersector : public Intersector {
+ public:
+ MOCK_METHOD5(Intersect, PhraseLocation(const Phrase&, PhraseLocation&,
+ const Phrase&, PhraseLocation&, const Phrase&));
+};