@Test
public void testGetPkValuesByAuto_GeneratedKeys_NoResult() throws SQLException {

    doReturn(tableMeta).when(insertExecutor).getTableMeta();
    ColumnMeta columnMeta = mock(ColumnMeta.class);
    Map<String, ColumnMeta> columnMetaMap = new HashMap<>();
    columnMetaMap.put(ID_COLUMN, columnMeta);
    when(columnMeta.isAutoincrement()).thenReturn(true);
    when(tableMeta.getPrimaryKeyMap()).thenReturn(columnMetaMap);
    PreparedStatement preparedStatement = mock(PreparedStatement.class);
    when(statementProxy.getTargetStatement()).thenReturn(preparedStatement);
    ResultSet resultSet = mock(ResultSet.class);
    when(preparedStatement.getGeneratedKeys()).thenReturn(resultSet);
    when(resultSet.next()).thenReturn(false);
    when(resultSet.getObject(1)).thenReturn(PK_VALUE);
    List pkValuesByAuto = insertExecutor.getPkValuesByAuto();
    Assertions.assertEquals(pkValuesByAuto.size(),0);
}