Ejemplo n.º 1
0
 @Test
 public void testCreateQuotedConstantNumber() throws Exception {
   assertEquals("-123", StringUtils.createQuotedConstant("-123"));
 }
Ejemplo n.º 2
0
 @Test
 public void testCreateQuotedConstant() throws Exception {
   assertEquals("\" abc \"", StringUtils.createQuotedConstant(" abc "));
 }
Ejemplo n.º 3
0
 @Test
 public void testCreateQuotedConstantNull() throws Exception {
   assertNull(StringUtils.createQuotedConstant(null));
 }