diff --git a/tests/src/com/adobe/utils/StringUtilTest.as b/tests/src/com/adobe/utils/StringUtilTest.as index 3ce1f7e..1c5d257 100644 --- a/tests/src/com/adobe/utils/StringUtilTest.as +++ b/tests/src/com/adobe/utils/StringUtilTest.as @@ -300,5 +300,11 @@ package com.adobe.utils assertTrue("StringUtil.ltrim(\" XX\") == \"XX\"", StringUtil.ltrim(" XX") == "XX"); } + + public function testStringHasValue():void { + assertFalse("StringUtil.stringHasValue(null) == false", StringUtil.stringHasValue(null)); + assertFalse("StringUtil.stringHasValue(\"\") == false", StringUtil.stringHasValue("")); + assertTrue("StringUtil.stringHasValue(\"XXX\") == true", StringUtil.stringHasValue("XXX")); + } } -} \ No newline at end of file +}