assList(firstCell, []);
      });

      ['generateCellClassNames', 'clearCache', 'render'].forEach(funcName => {
        it(`should update classes on ${funcName}`, () => {
          let condition = false;
          grid.cellClassNameGenerator = (column, model) => condition && 'foo';
          condition = true;
          assertClassList(firstCell, []);
          grid[funcName]();
          assertClassList(firstCell, ['foo']);
        });
      });

      it('should not run generator for hidden rows', () => 