@Test
public void testBeforeImage() throws SQLException {

    doReturn(tableMeta).when(insertExecutor).getTableMeta();
    TableRecords tableRecords = insertExecutor.beforeImage();
    Assertions.assertEquals(tableRecords.size(), 0);
    try {
        tableRecords.add(new Row());
    } catch (Exception e) {
        Assertions.assertTrue(e instanceof UnsupportedOperationException);
    }
    try {
        tableRecords.getTableMeta();
    } catch (Exception e) {
        Assertions.assertTrue(e instanceof UnsupportedOperationException);
    }
}