TestCase.assertEquals(expectedJson, mapper.writeValueAsString(commit));
}
@Test
public void testSerializationIncompleteCommitMessage() throws IOException {
CommitMessage commit = new CommitMessage()
.filename("hoo-ya.csv")
.chunks(Arrays.asList("1234", "2345"));
String expectedJson = "{" +
"\"chunks\":[\"1234\",\"2345\"]," +
"\"filename\":\"hoo-ya.csv\"," +