@Test
public void indexingUpdateDocumentInc() {
String inputText = FormattedTextBuilder.getUpdateDocIncJsonForm();
ObjectMapper mapper = new ObjectMapper();
IndexingRequestForm indexingRequest = null;
try {
indexingRequest = mapper.readValue(inputText, IndexingRequestForm.class);
} catch (IOException e) {
Assert.fail(e.getMessage());
}
Assert.assertEquals("update", indexingRequest.getCommand());
Assert.assertEquals("creuser:test", indexingRequest.getQuery());
Assert.assertEquals("incremental", indexingRequest.getIndexingType());
Assert.assertEquals("[{board_id=0, title=제목 입니다0 업데이트..., dscr=본문 입니다.0, creuser=test}]",
indexingRequest.getDocumentList().toString());
}