예제 #1
0
 @Test
 public void testCreateUnquotedConstantNoAction() throws Exception {
   assertEquals("-123", StringUtils.createUnquotedConstant("-123"));
 }
예제 #2
0
 @Test
 public void testCreateUnquotedConstant() throws Exception {
   assertEquals(" abc ", StringUtils.createUnquotedConstant("\" abc \""));
 }
예제 #3
0
 @Test
 public void testCreateUnquotedConstantNull() throws Exception {
   assertNull(StringUtils.createUnquotedConstant(null));
 }