#include #include #include "linear_merger.h" #include "phrase.h" using namespace std; class MockLinearMerger: public LinearMerger { public: MockLinearMerger(shared_ptr vocabulary, shared_ptr data_array, shared_ptr comparator) : LinearMerger(vocabulary, data_array, comparator) {} MOCK_CONST_METHOD9(Merge, void(vector&, const Phrase&, const Phrase&, vector::iterator, vector::iterator, vector::iterator, vector::iterator, int, int)); };