diff --git a/hippo4j-config/src/test/java/cn/hippo4j/config/toolkit/EnvUtilTest.java b/hippo4j-config/src/test/java/cn/hippo4j/config/toolkit/EnvUtilTest.java index 9115ade1..18666002 100644 --- a/hippo4j-config/src/test/java/cn/hippo4j/config/toolkit/EnvUtilTest.java +++ b/hippo4j-config/src/test/java/cn/hippo4j/config/toolkit/EnvUtilTest.java @@ -17,8 +17,24 @@ package cn.hippo4j.config.toolkit; +import cn.hippo4j.common.toolkit.Assert; +import cn.hutool.core.util.StrUtil; +import org.junit.Test; + /** * EnvUtil Test */ public class EnvUtilTest { + + @Test + public void getHippo4JHomeTest() { + String hippo4JHome = EnvUtil.getHippo4JHome(); + Assert.isTrue(StrUtil.isNotBlank(hippo4JHome)); + } + + @Test + public void getStandaloneMode() { + boolean standaloneMode = EnvUtil.getStandaloneMode(); + Assert.isTrue(standaloneMode); + } }