source: class TransactionJsonToTableRowTest {
  
      private final TransactionJsonToTableRow converter;
  
      @Test
      void testThrowsExceptionForBadJson() throws Exception {
  
target:         // given
          String badJson = "{\"consensusTimestamp\":1570802944412586000,\"entity\":{\"shardNum\":0,";
  
          // then
          assertThrows(IllegalArgumentException.class, () -> {
              converter.apply(badJson);
          });
      }
  
  }