#include #include #include "../data_array.h" #include "../phrase_location.h" #include "../suffix_array.h" using namespace std; class MockSuffixArray : public SuffixArray { public: MockSuffixArray() : SuffixArray(make_shared()) {} MOCK_CONST_METHOD0(GetSize, int()); MOCK_CONST_METHOD4(Lookup, PhraseLocation(int, int, const string& word, int)); };