public void testBug56835CellComment() throws Exception {
    XSSFWorkbook wb = new XSSFWorkbook();
    try {
      XSSFSheet sheet = wb.createSheet();
      XSSFDrawing drawing = sheet.createDrawingPatriarch();

      // first comment works
      ClientAnchor anchor = new XSSFClientAnchor(1, 1, 2, 2, 3, 3, 4, 4);
      XSSFComment comment = drawing.createCellComment(anchor);
      assertNotNull(comment);

      try {
        drawing.createCellComment(anchor);
        fail("Should fail if we try to add the same comment for the same cell");
      } catch (IllegalArgumentException e) {
        // expected
      }
    } finally {
      wb.close();
    }
  }