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