add missing mock method definition