@Test
void testThrowsExceptionForBadJson() throws Exception {

    // given
    String badJson = "{\"consensusTimestamp\":1570802944412586000,\"entity\":{\"shardNum\":0,";
    // then
    assertThrows(IllegalArgumentException.class, () -> {
        converter.apply(badJson);
    });
}