public void replaceNonDateCellWithACell() throws IOException {
Workbook workbook = getWorkbook("cellTypes.xls");
PoiWorkbook sheet = new PoiWorkbook(workbook);
Coordinate coordinate = coordinate(B, 2);
assertThat(getCellForCoordinate(coordinate, workbook), equalTo(new DoubleCell(1001d)));
sheet.replaceCell(coordinate, createDate(15, MARCH, 2012));
assertThat(getCellForCoordinate(coordinate, workbook), equalTo(new DateCell(createDate(15, MARCH, 2012))));
assertThat(getCellDataFormatAtCoordinate(coordinate, workbook), is("dd-MMM-yyyy"));
assertThat("should not have affected a shared data format", getCellDataFormatAtCoordinate(coordinate(B, 7), workbook), is("General"));