}
//paste formula remain original's style
private void pasteFormulaAndVerify(int tRow, int lCol, int bRow, int rCol, int pasteToRow, int pasteToCol) {
CellCacheAggeration.Builder builder = getCellCacheAggerationBuilder(tRow, lCol, bRow, rCol);
CellCacheAggeration copyFrom = builder.build();
CellCacheAggeration pasteDestination = builder.offset(pasteToRow, pasteToCol).build();
//when paste formula, it remain same style: align color, border etc
copyFrom.merge(pasteDestination, CellCache.Field.VERTICAL_ALIGN, CellCache.Field.HORIZONTAL_ALIGN, CellCache.Field.FONT_COLOR, CellCache.Field.FILL_COLOR, CellCache.Field.BOTTOM_BORDER, CellCache.Field.RIGHT_BORDER);
prepareCopySource(copyFrom.getTop(), copyFrom.getLeft(), copyFrom.getBottom(), copyFrom.getRight());
focus(pasteToRow, pasteToCol);
click(".zstbtn-paste .zstbtn-arrow");
click(".zsmenuitem-pasteFormula");
CellCacheAggeration pasteTo = builder.offset(pasteToRow, pasteToCol).build();
Assert.assertEquals(copyFrom, pasteTo);
}