public static void stringNotEmptyAndThenExecute(String source, Runnable runnable) {
        
        if (StringUtils.isNotEmpty(source)) {
            
            try {
                runnable.run();
            } catch (Exception e) {
                LogUtils.NAMING_LOGGER.error("string not empty and then execute cause an exception.", e);
            }
        }
    }
@Test
    void testStringNotEmptyAndThenExecuteFail() {
        String word = "";
        Runnable task = Mockito.mock(Runnable.class);
        TemplateUtils.stringNotEmptyAndThenExecute(word, task);
        Mockito.verify(task, Mockito.times(0)).run();
    }