summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_data_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_data_array.h')
-rw-r--r--extractor/mocks/mock_data_array.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extractor/mocks/mock_data_array.h b/extractor/mocks/mock_data_array.h
index cda8f7a6..54497cf5 100644
--- a/extractor/mocks/mock_data_array.h
+++ b/extractor/mocks/mock_data_array.h
@@ -10,5 +10,6 @@ class MockDataArray : public DataArray {
MOCK_CONST_METHOD0(GetVocabularySize, int());
MOCK_CONST_METHOD1(HasWord, bool(const string& word));
MOCK_CONST_METHOD1(GetWordId, int(const string& word));
+ MOCK_CONST_METHOD1(GetWord, string(int word_id));
MOCK_CONST_METHOD1(GetSentenceId, int(int position));
};