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