row.setCell(0, new Cell("I'm not empty", null));
when(options.containsKey("rowIndex")).thenReturn(true);
when(options.get("rowIndex")).thenReturn(0);
when(options.containsKey("recordIndex")).thenReturn(true);
when(options.get("recordIndex")).thenReturn(1);
row.save(writer, options);
Assert.assertEquals(
writer.getBuffer().toString(),
"{\"flagged\":false,\"starred\":false,\"cells\":[{\"v\":\"I'm not empty\"}],\"i\":0,\"j\":1}");
}