@Override
    public int configInfoBetaCount() {
        ConfigInfoBetaMapper configInfoBetaMapper = mapperManager.findMapper(dataSourceService.getDataSourceType(),
                TableConstant.CONFIG_INFO_BETA);
        String sql = configInfoBetaMapper.count(null);
        Integer result = databaseOperate.queryOne(sql, Integer.class);
        if (result == null) {
            throw new IllegalArgumentException("configInfoBetaCount error");
        }
        return result;
    }
@Test
    void testConfigInfoBetaCount() {
        Mockito.when(databaseOperate.queryOne(anyString(), eq(Integer.class))).thenReturn(101);
        int returnCount = embeddedConfigInfoBetaPersistService.configInfoBetaCount();
        assertEquals(101, returnCount);
    }