added missing mock method